Title: [97602] trunk/LayoutTests
Revision
97602
Author
[email protected]
Date
2011-10-17 03:38:02 -0700 (Mon, 17 Oct 2011)

Log Message

Make more :visited pseudo class tests work
https://bugs.webkit.org/show_bug.cgi?id=70224

Reviewed by Andreas Kling.
        
Link <a href="" is always considered visited so we can use that in tests that try to apply :visited.

Mac results only, requires rebaselining of other platforms.

* css3/selectors3/html/css3-modsel-17.html:
* css3/selectors3/html/css3-modsel-61.html:
* css3/selectors3/xhtml/css3-modsel-17.xml:
* css3/selectors3/xhtml/css3-modsel-61.xml:
* css3/selectors3/xml/css3-modsel-17.xml:
* css3/selectors3/xml/css3-modsel-61.xml:
* fast/selectors/017.html:
* fast/selectors/061.html:
* platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt:
* platform/mac/fast/selectors/017-expected.txt:
* platform/mac/fast/selectors/061-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (97601 => 97602)


--- trunk/LayoutTests/ChangeLog	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/ChangeLog	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,3 +1,31 @@
+2011-10-17  Antti Koivisto  <[email protected]>
+
+        Make more :visited pseudo class tests work
+        https://bugs.webkit.org/show_bug.cgi?id=70224
+
+        Reviewed by Andreas Kling.
+        
+        Link <a href="" is always considered visited so we can use that in tests that try to apply :visited.
+
+        Mac results only, requires rebaselining of other platforms.
+
+        * css3/selectors3/html/css3-modsel-17.html:
+        * css3/selectors3/html/css3-modsel-61.html:
+        * css3/selectors3/xhtml/css3-modsel-17.xml:
+        * css3/selectors3/xhtml/css3-modsel-61.xml:
+        * css3/selectors3/xml/css3-modsel-17.xml:
+        * css3/selectors3/xml/css3-modsel-61.xml:
+        * fast/selectors/017.html:
+        * fast/selectors/061.html:
+        * platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt:
+        * platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt:
+        * platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt:
+        * platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt:
+        * platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt:
+        * platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt:
+        * platform/mac/fast/selectors/017-expected.txt:
+        * platform/mac/fast/selectors/061-expected.txt:
+
 2011-10-17  Csaba Osztrogonác  <[email protected]>
 
         [Qt] Unreviewed gardening after r97598. Remove obsolete Qt 4.8 specific expected results.

Modified: trunk/LayoutTests/css3/selectors3/html/css3-modsel-17.html (97601 => 97602)


--- trunk/LayoutTests/css3/selectors3/html/css3-modsel-17.html	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/css3/selectors3/html/css3-modsel-17.html	2011-10-17 10:38:02 UTC (rev 97602)
@@ -13,8 +13,7 @@
  </head>
  <body>
 <p class="test">
-<a href="" should see a green background assigned by the anchor.</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" should see a green background assigned by the anchor.</a>
 </p>
 </body>
 </html>
\ No newline at end of file

Modified: trunk/LayoutTests/css3/selectors3/html/css3-modsel-61.html (97601 => 97602)


--- trunk/LayoutTests/css3/selectors3/html/css3-modsel-61.html	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/css3/selectors3/html/css3-modsel-61.html	2011-10-17 10:38:02 UTC (rev 97602)
@@ -14,8 +14,7 @@
  </head>
  <body>
 <div class="stub">
-<a href="" anchor should have a green background</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" anchor should have a green background</a>
 </div>
 </body>
 </html>
\ No newline at end of file

Modified: trunk/LayoutTests/css3/selectors3/xhtml/css3-modsel-17.xml (97601 => 97602)


--- trunk/LayoutTests/css3/selectors3/xhtml/css3-modsel-17.xml	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/css3/selectors3/xhtml/css3-modsel-17.xml	2011-10-17 10:38:02 UTC (rev 97602)
@@ -13,8 +13,7 @@
  </head>
  <body>
 <p class="test">
-<a href="" should see a green background assigned by the anchor.</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" should see a green background assigned by the anchor.</a>
 </p>
 </body>
 </html>
\ No newline at end of file

Modified: trunk/LayoutTests/css3/selectors3/xhtml/css3-modsel-61.xml (97601 => 97602)


--- trunk/LayoutTests/css3/selectors3/xhtml/css3-modsel-61.xml	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/css3/selectors3/xhtml/css3-modsel-61.xml	2011-10-17 10:38:02 UTC (rev 97602)
@@ -14,8 +14,7 @@
  </head>
  <body>
 <div class="stub">
-<a href="" anchor should have a green background</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" anchor should have a green background</a>
 </div>
 </body>
 </html>
\ No newline at end of file

Modified: trunk/LayoutTests/css3/selectors3/xml/css3-modsel-17.xml (97601 => 97602)


--- trunk/LayoutTests/css3/selectors3/xml/css3-modsel-17.xml	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/css3/selectors3/xml/css3-modsel-17.xml	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,7 +1,6 @@
 <?xml-stylesheet href="" type="text/css"?>
 <test>
 <p xmlns="http://www.w3.org/1999/xhtml" class="test">
-<a href="" should see a green background assigned by the anchor.</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" should see a green background assigned by the anchor.</a>
 </p>
 </test>
\ No newline at end of file

Modified: trunk/LayoutTests/css3/selectors3/xml/css3-modsel-61.xml (97601 => 97602)


--- trunk/LayoutTests/css3/selectors3/xml/css3-modsel-61.xml	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/css3/selectors3/xml/css3-modsel-61.xml	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,7 +1,6 @@
 <?xml-stylesheet href="" type="text/css"?>
 <test>
 <div xmlns="http://www.w3.org/1999/xhtml" class="stub">
-<a href="" anchor should have a green background</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" anchor should have a green background</a>
 </div>
 </test>
\ No newline at end of file

Modified: trunk/LayoutTests/fast/selectors/017.html (97601 => 97602)


--- trunk/LayoutTests/fast/selectors/017.html	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/fast/selectors/017.html	2011-10-17 10:38:02 UTC (rev 97602)
@@ -13,8 +13,7 @@
  </head>
  <body>
 <p class="test">
-<a href="" should see a green background assigned by the anchor.</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" should see a green background assigned by the anchor.</a>
 </p>
 </body>
 </html>
\ No newline at end of file

Modified: trunk/LayoutTests/fast/selectors/061.html (97601 => 97602)


--- trunk/LayoutTests/fast/selectors/061.html	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/fast/selectors/061.html	2011-10-17 10:38:02 UTC (rev 97602)
@@ -14,8 +14,7 @@
  </head>
  <body>
 <div class="stub">
-<a href="" anchor should have a green background</a>
-(Note: You must have visited http://www.w3.org/ for this test to be valid.)
+<a href="" anchor should have a green background</a>
 </div>
 </body>
 </html>
\ No newline at end of file

Modified: trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,12 +1,10 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x68
-  RenderBlock {HTML} at (0,0) size 800x68
-    RenderBody {BODY} at (8,16) size 784x36
-      RenderBlock {P} at (0,0) size 784x36
-        RenderInline {A} at (0,0) size 379x18 [color=#0000EE] [bgcolor=#FF0000]
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBody {BODY} at (8,16) size 784x18
+      RenderBlock {P} at (0,0) size 784x18
+        RenderInline {A} at (0,0) size 379x18 [color=#551A8B] [bgcolor=#00FF00]
           RenderText {#text} at (0,0) size 379x18
             text run at (0,0) width 379: "You should see a green background assigned by the anchor."
-        RenderText {#text} at (379,0) size 770x36
-          text run at (379,0) width 391: " (Note: You must have visited http://www.w3.org/ for this test"
-          text run at (0,18) width 75: "to be valid.)"
+        RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -4,8 +4,7 @@
   RenderBlock {HTML} at (0,0) size 800x34
     RenderBody {BODY} at (8,8) size 784x18
       RenderBlock {DIV} at (0,0) size 784x18
-        RenderInline {A} at (0,0) size 284x18 [color=#0000EE] [bgcolor=#FF0000]
+        RenderInline {A} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#00FF00]
           RenderText {#text} at (0,0) size 284x18
             text run at (0,0) width 284: "This anchor should have a green background"
-        RenderText {#text} at (284,0) size 470x18
-          text run at (284,0) width 470: " (Note: You must have visited http://www.w3.org/ for this test to be valid.)"
+        RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,12 +1,10 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x68
-  RenderBlock {html} at (0,0) size 800x68
-    RenderBody {body} at (8,16) size 784x36
-      RenderBlock {p} at (0,0) size 784x36
-        RenderInline {a} at (0,0) size 379x18 [color=#0000EE] [bgcolor=#FF0000]
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18
+      RenderBlock {p} at (0,0) size 784x18
+        RenderInline {a} at (0,0) size 379x18 [color=#551A8B] [bgcolor=#00FF00]
           RenderText {#text} at (0,0) size 379x18
             text run at (0,0) width 379: "You should see a green background assigned by the anchor."
-        RenderText {#text} at (379,0) size 770x36
-          text run at (379,0) width 391: " (Note: You must have visited http://www.w3.org/ for this test"
-          text run at (0,18) width 75: "to be valid.)"
+        RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -4,8 +4,7 @@
   RenderBlock {html} at (0,0) size 800x34
     RenderBody {body} at (8,8) size 784x18
       RenderBlock {div} at (0,0) size 784x18
-        RenderInline {a} at (0,0) size 284x18 [color=#0000EE] [bgcolor=#FF0000]
+        RenderInline {a} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#00FF00]
           RenderText {#text} at (0,0) size 284x18
             text run at (0,0) width 284: "This anchor should have a green background"
-        RenderText {#text} at (284,0) size 470x18
-          text run at (284,0) width 470: " (Note: You must have visited http://www.w3.org/ for this test to be valid.)"
+        RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,11 +1,9 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x68
-  RenderBlock {test} at (0,0) size 800x68
-    RenderBlock {p} at (0,16) size 800x36
-      RenderInline {a} at (0,0) size 379x18 [color=#0000EE] [bgcolor=#FF0000]
+layer at (0,0) size 800x50
+  RenderBlock {test} at (0,0) size 800x50
+    RenderBlock {p} at (0,16) size 800x18
+      RenderInline {a} at (0,0) size 379x18 [color=#551A8B] [bgcolor=#00FF00]
         RenderText {#text} at (0,0) size 379x18
           text run at (0,0) width 379: "You should see a green background assigned by the anchor."
-      RenderText {#text} at (379,0) size 786x36
-        text run at (379,0) width 407: " (Note: You must have visited http://www.w3.org/ for this test to"
-        text run at (0,18) width 59: "be valid.)"
+      RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -3,8 +3,7 @@
 layer at (0,0) size 800x18
   RenderBlock {test} at (0,0) size 800x18
     RenderBlock {div} at (0,0) size 800x18
-      RenderInline {a} at (0,0) size 284x18 [color=#0000EE] [bgcolor=#FF0000]
+      RenderInline {a} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#00FF00]
         RenderText {#text} at (0,0) size 284x18
           text run at (0,0) width 284: "This anchor should have a green background"
-      RenderText {#text} at (284,0) size 470x18
-        text run at (284,0) width 470: " (Note: You must have visited http://www.w3.org/ for this test to be valid.)"
+      RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/fast/selectors/017-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/fast/selectors/017-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/fast/selectors/017-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -1,12 +1,10 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x68
-  RenderBlock {HTML} at (0,0) size 800x68
-    RenderBody {BODY} at (8,16) size 784x36
-      RenderBlock {P} at (0,0) size 784x36
-        RenderInline {A} at (0,0) size 379x18 [color=#0000EE] [bgcolor=#FF0000]
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBody {BODY} at (8,16) size 784x18
+      RenderBlock {P} at (0,0) size 784x18
+        RenderInline {A} at (0,0) size 379x18 [color=#551A8B] [bgcolor=#00FF00]
           RenderText {#text} at (0,0) size 379x18
             text run at (0,0) width 379: "You should see a green background assigned by the anchor."
-        RenderText {#text} at (379,0) size 770x36
-          text run at (379,0) width 391: " (Note: You must have visited http://www.w3.org/ for this test"
-          text run at (0,18) width 75: "to be valid.)"
+        RenderText {#text} at (0,0) size 0x0

Modified: trunk/LayoutTests/platform/mac/fast/selectors/061-expected.txt (97601 => 97602)


--- trunk/LayoutTests/platform/mac/fast/selectors/061-expected.txt	2011-10-17 10:24:25 UTC (rev 97601)
+++ trunk/LayoutTests/platform/mac/fast/selectors/061-expected.txt	2011-10-17 10:38:02 UTC (rev 97602)
@@ -4,8 +4,7 @@
   RenderBlock {HTML} at (0,0) size 800x34
     RenderBody {BODY} at (8,8) size 784x18
       RenderBlock {DIV} at (0,0) size 784x18
-        RenderInline {A} at (0,0) size 284x18 [color=#0000EE] [bgcolor=#FF0000]
+        RenderInline {A} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#00FF00]
           RenderText {#text} at (0,0) size 284x18
             text run at (0,0) width 284: "This anchor should have a green background"
-        RenderText {#text} at (284,0) size 470x18
-          text run at (284,0) width 470: " (Note: You must have visited http://www.w3.org/ for this test to be valid.)"
+        RenderText {#text} at (0,0) size 0x0
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to