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

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

From: Bert Bos <bert@w3.org>
Date: Fri, 20 Aug 2010 21:51:20 +0200
To: W3C style mailing list <www-style@w3.org>
Cc: public-css-testsuite@w3.org
Message-Id: <201008202151.20932.bert@w3.org>
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.

> [1] http://wiki.csswg.org/spec/css2.1#issue-129



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Friday, 20 August 2010 19:51:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT