Closed
Bug 700440
Opened 13 years ago
Closed 11 years ago
MathML demo pages: code for displaying tooltips on MathML elements is not valid
Categories
(www.mozilla.org :: Pages & Content, defect)
www.mozilla.org
Pages & Content
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: fredw, Assigned: mohitsinha251)
References
()
Details
Attachments
(1 file)
1.51 KB,
patch
|
fredw
:
review+
|
Details | Diff | Splinter Review |
Follow-up of bug 445029 comment 113.
MathML demos use the "title" attribute to display tooltips but this is not valid. This would better achieve via the the tooltip actiontype of maction when it is implemented.
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 1•13 years ago
|
||
Alternatively, and waiting for bug 544001 to be fixed, we can implement these tooltips using HTML+CSS/Javascript.
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → PraZuBeR
Reporter | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•13 years ago
|
Assignee: PraZuBeR → mohitsinha251
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #652148 -
Flags: review?(fred.wang)
Reporter | ||
Comment 3•13 years ago
|
||
Comment on attachment 652148 [details] [diff] [review]
implemented the tooltip using <maction actiontype="tooltip">
Review of attachment 652148 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks. We need to update the description too, to say that it relies on "maction@tooltip" instead of the "title" attribute. Also you must modify the rule "*[title]" to set the color of the first child of the maction element in the second example.
With this change, the demo will now rely on standard MathML code. So this page (for "extra" features) is no really the best place. I think we can create a new page "maction" with this demo, some tests in layout/mathml/tests/various.html and other examples from bug 749103. But for the moment that's OK, although we still need to wait for bug 544001 before taking this patch.
Attachment #652148 -
Flags: review?(fred.wang) → review+
Updated•13 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Reporter | ||
Comment 4•12 years ago
|
||
FYI, I moved the "Extras" demo page to the MDN wiki, so that will be more convenient to update it:
https://developer.mozilla.org/en-US/docs/Mozilla_MathML_Project/Extras
Closing as per comment 4; it's no longer a part of www.mozilla.org
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Component: General → Pages & Content
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•