RESOLVED DUPLICATE of bug 36515 44857
@charset rule after @import rule hides the next rule
https://bugs.webkit.org/show_bug.cgi?id=44857
Summary @charset rule after @import rule hides the next rule
Xianzhu Wang
Reported 2010-08-30 01:38:20 PDT
Created attachment 65888 [details] Test case: the html file In the attached test case, the html file references an external css file (testrule.css). In the css file, an @charset rule is improperly placed after an @import rule, and two valid rules after the @charset rule. Because the @charset rule is improperly placed, it should be ignored. Expected: The valid rule after the @charset rule should be respected. (it should set the font size to 12px.) Actual: The valid rule after the @charset rule is erroneously ignored. Browsers tested: IE 7/8: OK Firefox: OK
Attachments
Test case: the html file (294 bytes, text/html)
2010-08-30 01:38 PDT, Xianzhu Wang
no flags
Test case: the css file (111 bytes, text/css)
2010-08-30 01:39 PDT, Xianzhu Wang
no flags
Updated html file that can open the attached css file, so that you can test directly. (346 bytes, text/html)
2010-08-30 01:42 PDT, Xianzhu Wang
no flags
Xianzhu Wang
Comment 1 2010-08-30 01:39:10 PDT
Created attachment 65889 [details] Test case: the css file
Xianzhu Wang
Comment 2 2010-08-30 01:42:34 PDT
Created attachment 65890 [details] Updated html file that can open the attached css file, so that you can test directly.
Alexey Proskuryakov
Comment 3 2010-08-30 10:18:34 PDT
*** This bug has been marked as a duplicate of bug 36515 ***
Note You need to log in before you can comment on or make changes to this bug.