Changeset 60919 in webkit


Ignore:
Timestamp:
Jun 9, 2010 3:43:44 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-06-09 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Make invalid comment in fast/css/word-space-extra.html really invalid
https://bugs.webkit.org/show_bug.cgi?id=40388

This test tries to have a comment inside a comment. To make that work
in the old parser, the author added a space between the -- and the >.
However, that's a valid end-of-comment in the new parser. I've change
the space to a * to really make it not a valid end of comment.

  • fast/css/word-space-extra.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r60914 r60919  
     12010-06-09  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Make invalid comment in fast/css/word-space-extra.html really invalid
     6        https://bugs.webkit.org/show_bug.cgi?id=40388
     7
     8        This test tries to have a comment inside a comment.  To make that work
     9        in the old parser, the author added a space between the -- and the >.
     10        However, that's a valid end-of-comment in the new parser.  I've change
     11        the space to a * to really make it not a valid end of comment.
     12
     13        * fast/css/word-space-extra.html:
     14
    1152010-06-09  Adam Barth  <abarth@webkit.org>
    216
  • trunk/LayoutTests/fast/css/word-space-extra.html

    r60786 r60919  
    99         in <pre>foo  bar</pre>.  The block size should be approximately
    1010         numchars*(charwidth+letter_spacing)+(numwords-1)*word_spacing.
    11        * <pre>elements too</pre>, <pre>elements <!-- comment -- > too</pre> have a different
     11       * <pre>elements too</pre>, <pre>elements <!-- comment --*> too</pre> have a different
    1212         number of spaces seperating 'elements' and 'too', hence will have different sized gaps
    1313       * <pre> blocks are already using a monospace font so no difference may be visible in
Note: See TracChangeset for help on using the changeset viewer.