[Webkit-unassigned] [Bug 212902] [SVG2] SVGUseElement spec contains breaking changes.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 8 12:27:31 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212902
--- Comment #2 from ian at ianbellomy.com ---
Ah, that report is certainly relevant.
However, my specific concern is with the default appearance of the targeted element sans any styling of <use>.
In SVG1.1, absent a `use` rule, the re-presented circle element should always display per `.special circle{}`. (Given a `use` related rule, there is indeed ambiguity regarding which style rules take precedence and unexpected behavior may result, hence the bug report)
According to the SVG2 spec however, `.special circle{stroke:green}` should have no baring on the re-presented element, ever. That circle will technically be outside of `.special` and so those rule will not apply.
Combined with the rules for shadowDOM (which underlies the SVG use element spec), in the test case, the re-presented circle will have neither a green stroke or purple stroke but no stroke at all — both instance styling and re-presentation are compromised.
But while instance styling can be patched around via CSS variables, the ability to re-present an element whose appearance is determined by its source context will be eliminated entirely.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200608/db51d6d0/attachment.htm>
More information about the webkit-unassigned
mailing list