[Webkit-unassigned] [Bug 225363] New: 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:02:09 PDT 2021


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

            Bug ID: 225363
           Summary: document.styleSheets doesn't include all of the
                    stylesheets, when `title` attribute is present
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dholbert at mozilla.com
                CC: heycam at apple.com

Created attachment 427692

  --> https://bugs.webkit.org/attachment.cgi?id=427692&action=review

testcase 1

STR:
1. Load attached testcase, and look at the alert() that appears.

EXPECTED RESULTS:
alert should say PASS (i.e. `document.styleSheets.length` should be 4)

ACTUAL RESULTS:
alert says FAIL, and reports that document.styleSheets.length is in fact 2.


Firefox and Chromium both give expected results.
Safari 14 gives actual results.

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


More information about the webkit-unassigned mailing list