Make XLink handling on SVG/MathML consistent with styling.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(1 file)
Styling uses the presence of href (ElementHasHref) to determine whether something is a link.
GetHrefURI does something quite different in most cases. For once xlink:href
is disabled on MathML. And SVGAElement it has a bunch of weird preconditions to return a URI.
This should probably be consistent.
Assignee | ||
Comment 1•2 years ago
|
||
Also SVGAElement is the only thing overriding Link::ElementHasHref
, but then it calls the base class explicitly instead of the virtual function. The only caller of SVGAElement::ElementHasHref is in SVGAFrame. Hilarious.
Assignee | ||
Comment 2•2 years ago
|
||
Make Link and SVGAElement agree on XLink handling, and make it more
explicit that SVGAElement needs to be a bit more special for SMIL.
Remove dead MathML XLink code.
Updated•2 years ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd9197fa716a Make the XLink setup a bit saner. r=smaug
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/267c8d6766c9 Remove no longer needed method declaration.
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cd9197fa716a
https://hg.mozilla.org/mozilla-central/rev/267c8d6766c9
Description
•