Changeset 60913 in webkit


Ignore:
Timestamp:
Jun 9, 2010 2:19:51 PM (14 years ago)
Author:
abarth@webkit.org
Message:

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

Reviewed by Eric Seidel.

Test how XML directives get attached to the DOM
https://bugs.webkit.org/show_bug.cgi?id=40384

In the old parser, the XML directive doesn't get added to the DOM. In
new parser (and in Minefield), it gets added as a comment, which shows
up in this test.

This behavior was tested more obliquely by
fast/css-generated-content/hover-style-change.html in some
DumpRenderTree output. I've removed that coverage from the CSS test
and moved it to a new parser test that can actually be run in other
browsers.

  • fast/css-generated-content/hover-style-change.html:
    • Remove XML directive that was causing this test to depend on out-of-spec parser behavior w.r.t. whether to attach the XML directive to the DOM.
  • fast/parser/xml-directive-in-dom-expected.txt: Added.
  • fast/parser/xml-directive-in-dom.html: Added.
Location:
trunk/LayoutTests
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r60911 r60913  
     12010-06-09  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Test how XML directives get attached to the DOM
     6        https://bugs.webkit.org/show_bug.cgi?id=40384
     7
     8        In the old parser, the XML directive doesn't get added to the DOM.  In
     9        new parser (and in Minefield), it gets added as a comment, which shows
     10        up in this test.
     11
     12        This behavior was tested more obliquely by
     13        fast/css-generated-content/hover-style-change.html in some
     14        DumpRenderTree output.  I've removed that coverage from the CSS test
     15        and moved it to a new parser test that can actually be run in other
     16        browsers.
     17
     18        * fast/css-generated-content/hover-style-change.html:
     19            - Remove XML directive that was causing this test to depend on
     20              out-of-spec parser behavior w.r.t. whether to attach the XML
     21              directive to the DOM.
     22        * fast/parser/xml-directive-in-dom-expected.txt: Added.
     23        * fast/parser/xml-directive-in-dom.html: Added.
     24
    1252010-06-09  Enrico Ros  <eros@codeaurora.org>
    226
  • trunk/LayoutTests/fast/css-generated-content/hover-style-change.html

    r48921 r60913  
    1 <?xml version="1.0" encoding="utf-8"?>
    21<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    32        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Note: See TracChangeset for help on using the changeset viewer.