W3C home > Mailing lists > Public > www-style@w3.org > September 2010

[CSS21] URL tokenization in invalid declarations

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 09 Sep 2010 16:19:18 -0700
Message-ID: <4C896B76.70003@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
I was working on the uri-16.xht test when I started wondering
if I'd gotten it right.

Because comment delimiters are not recognized in url() tokens,
the following will result in a green background:

   background: url(/*) green;

In the following rule, is the text orange?

   background: INVALID url(/*); color: orange;

What about here?

   background: url(/*) INVALID; color: orange;

Received on Thursday, 9 September 2010 23:19:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC