[Webkit-unassigned] [Bug 10893] New: InsertRule can not handle @import statements 

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Sep 16 17:42:45 PDT 2006


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

           Summary: InsertRule can not handle @import statements 
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: misc at macrabbit.com


The following code:

DOMStyleSheetList *styleSheets = [[[webView mainFrame] DOMDocument]
styleSheets];
DOMCSSStyleSheet *styleSheet = [styleSheets item:0];
[styleSheet insertRule:@"@import url(\"bla.css\");" :0];

throws a #12 exception, which is a syntax error. I presume it's hardcoded to
accept regular style rules, which does work. I've tried several variations of
the @import, using different quotes, removing the semicolon... None of them
works.


-- 
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