[Webkit-unassigned] [Bug 261117] SVGStyleElement::attributeChanged does much less than HTMLStyleElement
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 4 22:24:31 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=261117
--- Comment #2 from Anne van Kesteren <annevk at annevk.nl> ---
Ah, I was wondering why the current code would not pass that test. I think what will end up failing is something like this:
<svg:style type="blah">
body { color:lime }
</svg:style>
document.querySelector("style").type = "text/css"
because there is nothing in SVGStyleElement::attributeChanged to trigger style sheet changes. Setting the type doesn't do much on its own. HTMLStyleElement::attributeChanged does seem to account for that.
--
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/20230905/0f76433a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list