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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: fredw, Assigned: mohitsinha251)

References

()

Details

Attachments

(1 file)

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.
Alternatively, and waiting for bug 544001 to be fixed, we can implement these tooltips using HTML+CSS/Javascript.
Assignee: nobody → PraZuBeR
Status: NEW → ASSIGNED
Assignee: PraZuBeR → mohitsinha251
Attachment #652148 - Flags: review?(fred.wang)
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+
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
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.

Attachment

General

Creator:
Created:
Updated:
Size: