[Webkit-unassigned] [Bug 10676] New: @charset rules not accessible via DOM

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Sep 1 11:11:11 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10676

           Summary: @charset rules not accessible via DOM
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ap at nypop.com


When a CSS file has a @charset declaration, it is not accessible via DOM (so,
document.styleSheets[0].cssRules[0] is actually the second rule).

A tricky part is that IE doesn't make it accessible either... but it uses a
non-standard property, CSSStyleSheet.rules, so we can apparently work around
this.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list