[Webkit-unassigned] [Bug 21472] @import must come before @namespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 6 01:33:46 PDT 2010


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


Daniel Glazman <daniel at glazman.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bdakin at apple.com,
                   |                            |mitz at webkit.org




--- Comment #3 from Daniel Glazman <daniel at glazman.org>  2010-05-06 01:33:45 PST ---
Ok I found the root of the problem and it's NOT related to @import, it's
related to "url(" !!!

The test
http://www.w3.org/Style/CSS/Test/CSS3/Namespace/20090210/syntax-006.xml
contains the following stylesheet:

   @namespace x u\00072l("test");
   @import url("support/fail.css");
   @namespace url("test2");
   x|test { background:lime }
   test { background:red }

and the first line fails because of u\00072l("test") !!!
So the second line, the @import rule, is applied when it should not.

Fundamentally, this bug should have its title changed. @import and @namespace
and even url() all are implemented correctly. This bug exists because escaped
characters FAIL in most idents. As an example,

  @i\mport "foo.css";

will always fail and never import the foo.css stylesheet...

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