[Webkit-unassigned] [Bug 225363] document.styleSheets doesn't include all of the stylesheets, when `title` attribute is present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 4 13:07:23 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225363

--- Comment #1 from Daniel Holbert <dholbert at mozilla.com> ---
The relevant spec text here is:
https://drafts.csswg.org/cssom/#add-a-css-style-sheet

Note that the last two stylesheets here should be be flagged as *disabled* (which is why they don't render in any browser; i.e. it's why the document renders as cyan instead of red or pink).  Chrome doesn't set the disabled flag properly, which is a bug[1], but it does treat them as disabled from a rendering perspective and it does correctly add it to the list of stylesheets.

This WebKit bug here is about these sheets being missing from the document.styleSheets list.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1205488

-- 
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/20210504/e748b716/attachment.htm>


More information about the webkit-unassigned mailing list