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

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:49 UTC