2010-07-20 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jul 2010 02:41:45 +0000 (02:41 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jul 2010 02:41:45 +0000 (02:41 +0000)
        Reviewed by Eric Seidel.

        Update expected results for a "tricky" test
        https://bugs.webkit.org/show_bug.cgi?id=42604

        Originally, I created these expectations using Minefield.  However, it
        appears that Minefield parses this case incorrectly according to the
        spec.  I've filed <https://bugzilla.mozilla.org/show_bug.cgi?id=580091>.

        This patch updates our expected results to what I believe is correct.

        * html5lib/resources/tricky01.dat:
        * html5lib/runner-expected-html5.txt:
        * html5lib/runner-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/html5lib/resources/tricky01.dat
LayoutTests/html5lib/runner-expected-html5.txt
LayoutTests/html5lib/runner-expected.txt

index bd5635c..99425aa 100644 (file)
@@ -2,6 +2,23 @@
 
         Reviewed by Eric Seidel.
 
+        Update expected results for a "tricky" test
+        https://bugs.webkit.org/show_bug.cgi?id=42604
+
+        Originally, I created these expectations using Minefield.  However, it
+        appears that Minefield parses this case incorrectly according to the
+        spec.  I've filed <https://bugzilla.mozilla.org/show_bug.cgi?id=580091>.
+
+        This patch updates our expected results to what I believe is correct.
+
+        * html5lib/resources/tricky01.dat:
+        * html5lib/runner-expected-html5.txt:
+        * html5lib/runner-expected.txt:
+
+2010-07-20  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Eric Seidel.
+
         Include attributes when reconstructing elements in HTML5 tree builder
         https://bugs.webkit.org/show_bug.cgi?id=42594
 
index c76470e..26453bf 100644 (file)
@@ -169,29 +169,26 @@ Also not bold."
 |         "You should see a 100x100 green Image below.
   "
 |     <font>
-|       "
-"
 |       <img>
 |         alt="Image"
 |         height="100"
-|         style="background-color: green;"
+|         style="background-color:green"
 |         width="100"
 |       "
 "
-|     <font>
-|       "
-"
-|     <font>
-|       "
-"
 |     <table>
 |       "
-  "
+  
+"
 |       <tbody>
 |         <tr>
 |           <td>
 |             "
 "
+|           "
+"
+|         "
+"
 
 #data
 <table><tr><p><a><p>You should see this text.
index e41e24c..88df220 100644 (file)
@@ -410,82 +410,5 @@ resources/isindex.dat: PASS
 
 resources/tables01.dat: PASS
 
-resources/tricky01.dat:
-6
-
-Test 6 of 9 in resources/tricky01.dat failed. Input:
-<TABLE>
-  <CENTER>
-  <FONT>You should see a 100x100 green Image below.
-  </CENTER>
-<IMG alt="Image" width=100 height=100 style="background-color:green">
-<tr><td>
-</td>
-</tr>
-</table>
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <center>
-|       "
-  "
-|       <font>
-|         "You should see a 100x100 green Image below.
-  "
-|     <font>
-|       <img>
-|         alt="Image"
-|         height="100"
-|         style="background-color:green"
-|         width="100"
-|       "
-"
-|     <table>
-|       "
-  
-"
-|       <tbody>
-|         <tr>
-|           <td>
-|             "
-"
-|           "
-"
-|         "
-"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <center>
-|       "
-  "
-|       <font>
-|         "You should see a 100x100 green Image below.
-  "
-|     <font>
-|       "
-"
-|       <img>
-|         alt="Image"
-|         height="100"
-|         style="background-color: green;"
-|         width="100"
-|       "
-"
-|     <font>
-|       "
-"
-|     <font>
-|       "
-"
-|     <table>
-|       "
-  "
-|       <tbody>
-|         <tr>
-|           <td>
-|             "
-"
+resources/tricky01.dat: PASS
 #EOF
index 1c430fd..136cfc0 100644 (file)
@@ -5315,29 +5315,26 @@ Expected:
 |         "You should see a 100x100 green Image below.
   "
 |     <font>
-|       "
-"
 |       <img>
 |         alt="Image"
 |         height="100"
-|         style="background-color: green;"
+|         style="background-color:green"
 |         width="100"
 |       "
 "
-|     <font>
-|       "
-"
-|     <font>
-|       "
-"
 |     <table>
 |       "
-  "
+  
+"
 |       <tbody>
 |         <tr>
 |           <td>
 |             "
 "
+|           "
+"
+|         "
+"
 
 Test 7 of 9 in resources/tricky01.dat failed. Input:
 <table><tr><p><a><p>You should see this text.