Bug 76992 - Any @namespace rules must follow all @charset and @import rules and precede all other non-ignored at-rules and rule sets in a style sheet.
: Any @namespace rules must follow all @charset and @import rules and precede a...
Status: NEW
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks: 76198
  Show dependency treegraph
 
Reported: 2012-01-25 02:15 PST by Eric Seidel
Modified: 2012-01-25 11:22 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel 2012-01-25 02:15:42 PST
Any @namespace rules must follow all @charset and @import rules and precede all other non-ignored at-rules and rule sets in a style sheet. 

According to IETC WebKit is the only engin which gets this wrong (is too lenient on when you can use @namespace):
http://samples.msdn.microsoft.com/ietestcenter/css3/namespaces/syntax-021.xml

I'm not sure how much this matters in practice.
Comment 1 Alexey Proskuryakov 2012-01-25 11:22:16 PST
Weird, we had an effort to ensure such restrictions right some time ago. Apparently, this case was missed.