[Webkit-unassigned] [Bug 89291] New: Webkit's stylesheetlist length value does not reflect sheets loaded via javascript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 16 16:15:08 PDT 2012


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

           Summary: Webkit's stylesheetlist length value does not reflect
                    sheets loaded via javascript
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://test.csswg.org/shepherd/testcase/ttwf-cssom-doc
                    -ext-load-count/spec/CSSOM/author/boundsj/status/submi
                    tted/
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jesse at rebounds.net
                CC: jesse at rebounds.net


According to the cssom spec (http://www.w3.org/TR/cssom/#stylesheetlist) the stylesheet length property list should always reflect exactly how many sheets are loaded in the HEAD section of the DOM. This test provides all the details:

http://test.csswg.org/shepherd/testcase/ttwf-cssom-doc-ext-load-count/spec/CSSOM/author/boundsj/status/submitted/
(results of test here: http://test.csswg.org/shepherd/repository/tip/contributors/ttwf/boundsj/submitted/ttwf-cssom-doc-ext-load-count.html)

In a nutshell, the stylesheetlist length property accurately reflects the loaded css sheet count in Firefox and Opera but not in Webkit and Chromium. The length property should update to show the correct count even if the sheets are not loaded in the head originally and are loaded with javascript. Firefox and Opera do this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list