W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2010

Re: [CSS21] Backing up in tokenizer (issue 129)

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 09 Sep 2010 18:28:44 -0700
Message-ID: <4C8989CC.9000903@inkedblade.net>
To: Bert Bos <bert@w3.org>
CC: W3C style mailing list <www-style@w3.org>, public-css-testsuite@w3.org
On 08/20/2010 12:51 PM, Bert Bos wrote:
> On Wednesday 18 August 2010 22:29:25 Bert Bos wrote:
>> I had an action to write up the text for issue 129[1], which
>> implements Zack Weinberg's modifications to the CSS tokenizer.
> [...]
> And here is a test case:
>      XHTML: http://www.w3.org/Style/Examples/015/parse-url-01.xhtml
>      HTML:  http://www.w3.org/Style/Examples/015/parse-url-01.html
> The next two test for related error recovery: a BAD_URI token must be
> automatically repaired if it occurs at the end of the file
> (section 4.2):
>      XHTML: http://www.w3.org/Style/Examples/015/parse-url-02.xhtml
>             http://www.w3.org/Style/Examples/015/parse-url-03.xhtml
>      HTML:  http://www.w3.org/Style/Examples/015/parse-url-02.html
>             http://www.w3.org/Style/Examples/015/parse-url-03.html
> Note that all three tests contain invalid CSS on purpose.

Hi Bert,
AFAICT, the first testcase is already contained in

I've added the other two as
I used 'background' instead of 'content' because it's more widely
supported than generated content. I also created a similar test
using @import:

Let me know if these tests look good to you, and I'll mark them
reviewed. :)

Received on Friday, 10 September 2010 01:29:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:03 GMT