Closed
Bug 404406
Opened 17 years ago
Closed 16 years ago
Make MathML attribute mapping content-based
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file, 1 obsolete file)
36.51 KB,
patch
|
Details | Diff | Splinter Review |
To make things a bit more sane, I've reimplemented MathML attribute-style mapping in content with a new nsMathMLElement. This lays the groundwork for style system support for scriptlevel, scriptminsize and scriptsizemultiplier.
Assignee | ||
Comment 1•17 years ago
|
||
-- Refactor attribute-mapping logic from nsGenericHTMLElement into a new base class nsMappedAttributeElement. -- Inherit from that class to new nsMathMLElement -- Implement MathML attribute mapping logic there -- Also implement mapping logic for scriptlevel, scriptminsize, scriptsizemultiplier (currently the ruledata is unused, I'm fixing that next) -- The new mapping logic restricts attributes to the elements for which the MathML REC says they should apply; the old logic did not. -- Remove attribute mapping logic from MathML frames -- Reftest; currently the test does not actually test anything, because none of the MathML elements render due to layout bugs karlt is working on. But I verified that things are OK via the DOM Inspector. David, if you want someone else to review this (Jonas?) let me know.
Attachment #289396 -
Flags: superreview?(dbaron)
Attachment #289396 -
Flags: review?(dbaron)
Assignee | ||
Comment 2•17 years ago
|
||
That patch was missing some changes to dom/. Also, this update makes the new members of nsCSSFont #ifdef MOZ_MATHML.
Attachment #289396 -
Attachment is obsolete: true
Attachment #289430 -
Flags: superreview?(dbaron)
Attachment #289430 -
Flags: review?(dbaron)
Attachment #289396 -
Flags: superreview?(dbaron)
Attachment #289396 -
Flags: review?(dbaron)
Assignee | ||
Comment 3•17 years ago
|
||
Comment on attachment 289430 [details] [diff] [review] updated patch My attempts to separate this from work on bug 355548 kinda failed. I'm just going to post a big patch there.
Attachment #289430 -
Flags: superreview?(dbaron)
Attachment #289430 -
Flags: review?(dbaron)
Assignee | ||
Comment 4•16 years ago
|
||
Fixed by 355548, basically.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•