Title: [102402] trunk/LayoutTests
Revision
102402
Author
[email protected]
Date
2011-12-08 17:13:29 -0800 (Thu, 08 Dec 2011)

Log Message

Convert some fast/regions pixel tests to reftests
https://bugs.webkit.org/show_bug.cgi?id=74116

Patch by Jacob Goldstein <[email protected]> on 2011-12-08
Reviewed by Darin Adler.

* fast/regions/webkit-flow-renderer-expected.html: Added.
* fast/regions/webkit-flow-renderer-layer-expected.html: Added.
* fast/regions/webkit-flow-renderer-nested-expected.html: Added.
* platform/efl/fast/regions/webkit-flow-renderer-expected.png: Removed.
* platform/efl/fast/regions/webkit-flow-renderer-expected.txt: Removed.
* platform/efl/fast/regions/webkit-flow-renderer-layer-expected.png: Removed.
* platform/efl/fast/regions/webkit-flow-renderer-layer-expected.txt: Removed.
* platform/efl/fast/regions/webkit-flow-renderer-nested-expected.png: Removed.
* platform/efl/fast/regions/webkit-flow-renderer-nested-expected.txt: Removed.
* platform/mac/fast/regions/webkit-flow-renderer-expected.png: Removed.
* platform/mac/fast/regions/webkit-flow-renderer-expected.txt: Removed.
* platform/mac/fast/regions/webkit-flow-renderer-layer-expected.png: Removed.
* platform/mac/fast/regions/webkit-flow-renderer-layer-expected.txt: Removed.
* platform/mac/fast/regions/webkit-flow-renderer-nested-expected.png: Removed.
* platform/mac/fast/regions/webkit-flow-renderer-nested-expected.txt: Removed.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (102401 => 102402)


--- trunk/LayoutTests/ChangeLog	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/ChangeLog	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,3 +1,26 @@
+2011-12-08  Jacob Goldstein  <[email protected]>
+
+        Convert some fast/regions pixel tests to reftests
+        https://bugs.webkit.org/show_bug.cgi?id=74116
+
+        Reviewed by Darin Adler.
+
+        * fast/regions/webkit-flow-renderer-expected.html: Added.
+        * fast/regions/webkit-flow-renderer-layer-expected.html: Added.
+        * fast/regions/webkit-flow-renderer-nested-expected.html: Added.
+        * platform/efl/fast/regions/webkit-flow-renderer-expected.png: Removed.
+        * platform/efl/fast/regions/webkit-flow-renderer-expected.txt: Removed.
+        * platform/efl/fast/regions/webkit-flow-renderer-layer-expected.png: Removed.
+        * platform/efl/fast/regions/webkit-flow-renderer-layer-expected.txt: Removed.
+        * platform/efl/fast/regions/webkit-flow-renderer-nested-expected.png: Removed.
+        * platform/efl/fast/regions/webkit-flow-renderer-nested-expected.txt: Removed.
+        * platform/mac/fast/regions/webkit-flow-renderer-expected.png: Removed.
+        * platform/mac/fast/regions/webkit-flow-renderer-expected.txt: Removed.
+        * platform/mac/fast/regions/webkit-flow-renderer-layer-expected.png: Removed.
+        * platform/mac/fast/regions/webkit-flow-renderer-layer-expected.txt: Removed.
+        * platform/mac/fast/regions/webkit-flow-renderer-nested-expected.png: Removed.
+        * platform/mac/fast/regions/webkit-flow-renderer-nested-expected.txt: Removed.
+
 2011-12-08  Julien Chaffraix  <[email protected]>
 
         REGRESSION: Changing disabled state of a textarea does not do a repaint

Added: trunk/LayoutTests/fast/regions/webkit-flow-renderer-expected.html (0 => 102402)


--- trunk/LayoutTests/fast/regions/webkit-flow-renderer-expected.html	                        (rev 0)
+++ trunk/LayoutTests/fast/regions/webkit-flow-renderer-expected.html	2011-12-09 01:13:29 UTC (rev 102402)
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<style>
+    .region{
+    	height:100px;
+    }
+</style>
+
+<body>
+    <div class="region">
+        <div>DIV4 - flowA</div>
+        <div>DIV1 - flowA</div>
+    </div>
+    <div class="region">
+        <div>DIV5 - flowB</div>
+        <div>DIV7 - flowB</div>
+        <span>SPAN2 - flowB</span>
+        <div>DIV6 - flowB</div>
+    </div>
+    <div class="region">
+        <div>DIV3 - flowC</div>
+        <div>DIV8 - flowC</div>
+    </div>
+</body>

Added: trunk/LayoutTests/fast/regions/webkit-flow-renderer-layer-expected.html (0 => 102402)


--- trunk/LayoutTests/fast/regions/webkit-flow-renderer-layer-expected.html	                        (rev 0)
+++ trunk/LayoutTests/fast/regions/webkit-flow-renderer-layer-expected.html	2011-12-09 01:13:29 UTC (rev 102402)
@@ -0,0 +1,37 @@
+<!DOCTYPE HTML>
+
+<style>
+    .region{
+    	height:100px;
+    	width:100%;
+    }   
+    .regionScale{
+    	-webkit-transform: scale3d(1, 1, 1);
+    }
+    #DIV1 {
+        /* force a RenderLayer */
+        position: absolute;
+    }
+    #DIV5 {
+        position: absolute;
+        z-index: -1;
+    }
+</style>
+<body>
+
+<div class="region">
+    <div id="DIV1">DIV1 - flowA</div>
+</div>
+
+<div class="region regionScale">
+</div>
+
+<div class="region">
+    <div id="DIV3">
+        DIV3 - flowC
+        <div id="DIV4">DIV5 - flowC</div>  
+        <div id="DIV5">DIV4 - flowC</div>
+    </div>   
+</div>
+
+</body>

Added: trunk/LayoutTests/fast/regions/webkit-flow-renderer-nested-expected.html (0 => 102402)


--- trunk/LayoutTests/fast/regions/webkit-flow-renderer-nested-expected.html	                        (rev 0)
+++ trunk/LayoutTests/fast/regions/webkit-flow-renderer-nested-expected.html	2011-12-09 01:13:29 UTC (rev 102402)
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+
+<style>
+#REGION1, #REGION2 {
+    width: 100%;
+    height: 100px;
+}
+</style>
+
+<div id="REGION1">
+    <div id="DIV1">DIV1 - flowA</div>
+    <p>
+    <div id="DIV3">DIV3 - flowA</div>
+    </p>
+</div>
+<div id="REGION2">
+    <div id="DIV2">DIV2 - flowB</div>
+</div>

Deleted: trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-expected.txt (102401 => 102402)


--- trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-expected.txt	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-expected.txt	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,49 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x316
-  RenderBlock {HTML} at (0,0) size 800x316
-    RenderBody {BODY} at (8,8) size 784x300
-      RenderRegion {DIV} at (0,0) size 784x100
-      RenderRegion {DIV} at (0,100) size 784x100
-      RenderRegion {DIV} at (0,200) size 784x100
-Flow Threads
-  Thread with flow-name 'flowA'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 91x19
-            text run at (0,0) width 91: "DIV4 - flowA"
-        RenderBlock {DIV} at (0,19) size 784x19
-          RenderText {#text} at (0,0) size 91x19
-            text run at (0,0) width 91: "DIV1 - flowA"
-  Regions for flow 'flowA'
-    RenderRegion {DIV} #REGION1
-  Thread with flow-name 'flowB'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 90x19
-            text run at (0,0) width 90: "DIV5 - flowB"
-        RenderBlock {DIV} at (0,19) size 784x19
-          RenderText {#text} at (0,0) size 90x19
-            text run at (0,0) width 90: "DIV7 - flowB"
-        RenderBlock (anonymous) at (0,38) size 784x19
-          RenderInline {SPAN} at (0,0) size 103x19
-            RenderText {#text} at (0,0) size 103x19
-              text run at (0,0) width 103: "SPAN2 - flowB"
-        RenderBlock {DIV} at (0,57) size 784x19
-          RenderText {#text} at (0,0) size 90x19
-            text run at (0,0) width 90: "DIV6 - flowB"
-  Regions for flow 'flowB'
-    RenderRegion {DIV} #REGION2
-  Thread with flow-name 'flowC'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 90x19
-            text run at (0,0) width 90: "DIV3 - flowC"
-        RenderBlock {DIV} at (0,19) size 784x19
-          RenderText {#text} at (0,0) size 90x19
-            text run at (0,0) width 90: "DIV8 - flowC"
-  Regions for flow 'flowC'
-    RenderRegion {DIV} #REGION3

Deleted: trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-layer-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-layer-expected.txt (102401 => 102402)


--- trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-layer-expected.txt	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-layer-expected.txt	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,44 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x316
-  RenderBlock {HTML} at (0,0) size 800x316
-    RenderBody {BODY} at (8,8) size 784x300
-      RenderRegion {DIV} at (0,0) size 784x100
-      RenderRegion {DIV} at (0,100) size 784x100
-      RenderRegion {DIV} at (0,200) size 784x100
-Flow Threads
-  Thread with flow-name 'flowA'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-    layer at (0,0) size 91x19
-      RenderBlock (positioned) {DIV} at (0,0) size 91x19
-        RenderText {#text} at (0,0) size 91x19
-          text run at (0,0) width 91: "DIV1 - flowA"
-  Regions for flow 'flowA'
-    RenderRegion {DIV} #REGION1
-  Thread with flow-name 'flowB'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-    layer at (0,0) size 784x19
-      RenderBlock {DIV} at (0,0) size 784x19
-        RenderText {#text} at (0,0) size 90x19
-          text run at (0,0) width 90: "DIV2 - flowB"
-  Regions for flow 'flowB'
-    RenderRegion {DIV} #REGION2
-  Thread with flow-name 'flowC'
-    layer at (0,0) size 784x100 layerType: background only
-    layer at (0,38) size 90x19
-      RenderBlock (positioned) zI: -1 {DIV} at (0,38) size 90x19
-        RenderText zI: -1 {#text} at (0,0) size 90x19
-          text run at (0,0) width 90: "DIV4 - flowC"
-    layer at (0,0) size 784x100 layerType: foreground only
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x38
-          RenderBlock (anonymous) at (0,0) size 784x19
-            RenderText {#text} at (0,0) size 90x19
-              text run at (0,0) width 90: "DIV3 - flowC"
-          RenderBlock {DIV} at (0,19) size 784x19
-            RenderText {#text} at (0,0) size 90x19
-              text run at (0,0) width 90: "DIV5 - flowC"
-  Regions for flow 'flowC'
-    RenderRegion {DIV} #REGION3

Deleted: trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-nested-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-nested-expected.txt (102401 => 102402)


--- trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-nested-expected.txt	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/platform/efl/fast/regions/webkit-flow-renderer-nested-expected.txt	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,31 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x216
-  RenderBlock {HTML} at (0,0) size 800x216
-    RenderBody {BODY} at (8,8) size 784x200
-      RenderRegion {DIV} at (0,0) size 784x100
-      RenderRegion {DIV} at (0,100) size 784x100
-Flow Threads
-  Thread with flow-name 'flowA'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderBlock (anonymous) at (0,0) size 784x19
-            RenderText {#text} at (0,0) size 91x19
-              text run at (0,0) width 91: "DIV1 - flowA"
-            RenderText {#text} at (0,0) size 0x0
-          RenderBlock {P} at (0,35) size 784x0
-          RenderBlock {P} at (0,35) size 784x0
-        RenderBlock {DIV} at (0,35) size 784x19
-          RenderText {#text} at (0,0) size 91x19
-            text run at (0,0) width 91: "DIV3 - flowA"
-  Regions for flow 'flowA'
-    RenderRegion {DIV} #REGION1
-  Thread with flow-name 'flowB'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 90x19
-            text run at (0,0) width 90: "DIV2 - flowB"
-  Regions for flow 'flowB'
-    RenderRegion {DIV} #REGION2

Deleted: trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-expected.txt (102401 => 102402)


--- trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-expected.txt	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-expected.txt	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,49 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x316
-  RenderBlock {HTML} at (0,0) size 800x316
-    RenderBody {BODY} at (8,8) size 784x300
-      RenderRegion {DIV} at (0,0) size 784x100
-      RenderRegion {DIV} at (0,100) size 784x100
-      RenderRegion {DIV} at (0,200) size 784x100
-Flow Threads
-  Thread with flow-name 'flowA'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 91x18
-            text run at (0,0) width 91: "DIV4 - flowA"
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderText {#text} at (0,0) size 91x18
-            text run at (0,0) width 91: "DIV1 - flowA"
-  Regions for flow 'flowA'
-    RenderRegion {DIV} #REGION1
-  Thread with flow-name 'flowB'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 90x18
-            text run at (0,0) width 90: "DIV5 - flowB"
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderText {#text} at (0,0) size 90x18
-            text run at (0,0) width 90: "DIV7 - flowB"
-        RenderBlock (anonymous) at (0,36) size 784x18
-          RenderInline {SPAN} at (0,0) size 103x18
-            RenderText {#text} at (0,0) size 103x18
-              text run at (0,0) width 103: "SPAN2 - flowB"
-        RenderBlock {DIV} at (0,54) size 784x18
-          RenderText {#text} at (0,0) size 90x18
-            text run at (0,0) width 90: "DIV6 - flowB"
-  Regions for flow 'flowB'
-    RenderRegion {DIV} #REGION2
-  Thread with flow-name 'flowC'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 90x18
-            text run at (0,0) width 90: "DIV3 - flowC"
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderText {#text} at (0,0) size 90x18
-            text run at (0,0) width 90: "DIV8 - flowC"
-  Regions for flow 'flowC'
-    RenderRegion {DIV} #REGION3

Deleted: trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-layer-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-layer-expected.txt (102401 => 102402)


--- trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-layer-expected.txt	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-layer-expected.txt	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,44 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x316
-  RenderBlock {HTML} at (0,0) size 800x316
-    RenderBody {BODY} at (8,8) size 784x300
-      RenderRegion {DIV} at (0,0) size 784x100
-      RenderRegion {DIV} at (0,100) size 784x100
-      RenderRegion {DIV} at (0,200) size 784x100
-Flow Threads
-  Thread with flow-name 'flowA'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-    layer at (0,0) size 91x18
-      RenderBlock (positioned) {DIV} at (0,0) size 91x18
-        RenderText {#text} at (0,0) size 91x18
-          text run at (0,0) width 91: "DIV1 - flowA"
-  Regions for flow 'flowA'
-    RenderRegion {DIV} #REGION1
-  Thread with flow-name 'flowB'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-    layer at (0,0) size 784x18
-      RenderBlock {DIV} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 90x18
-          text run at (0,0) width 90: "DIV2 - flowB"
-  Regions for flow 'flowB'
-    RenderRegion {DIV} #REGION2
-  Thread with flow-name 'flowC'
-    layer at (0,0) size 784x100 layerType: background only
-    layer at (0,36) size 90x18
-      RenderBlock (positioned) zI: -1 {DIV} at (0,36) size 90x18
-        RenderText zI: -1 {#text} at (0,0) size 90x18
-          text run at (0,0) width 90: "DIV4 - flowC"
-    layer at (0,0) size 784x100 layerType: foreground only
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x36
-          RenderBlock (anonymous) at (0,0) size 784x18
-            RenderText {#text} at (0,0) size 90x18
-              text run at (0,0) width 90: "DIV3 - flowC"
-          RenderBlock {DIV} at (0,18) size 784x18
-            RenderText {#text} at (0,0) size 90x18
-              text run at (0,0) width 90: "DIV5 - flowC"
-  Regions for flow 'flowC'
-    RenderRegion {DIV} #REGION3

Deleted: trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-nested-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-nested-expected.txt (102401 => 102402)


--- trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-nested-expected.txt	2011-12-09 01:11:02 UTC (rev 102401)
+++ trunk/LayoutTests/platform/mac/fast/regions/webkit-flow-renderer-nested-expected.txt	2011-12-09 01:13:29 UTC (rev 102402)
@@ -1,31 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x216
-  RenderBlock {HTML} at (0,0) size 800x216
-    RenderBody {BODY} at (8,8) size 784x200
-      RenderRegion {DIV} at (0,0) size 784x100
-      RenderRegion {DIV} at (0,100) size 784x100
-Flow Threads
-  Thread with flow-name 'flowA'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderBlock (anonymous) at (0,0) size 784x18
-            RenderText {#text} at (0,0) size 91x18
-              text run at (0,0) width 91: "DIV1 - flowA"
-            RenderText {#text} at (0,0) size 0x0
-          RenderBlock {P} at (0,34) size 784x0
-          RenderBlock {P} at (0,34) size 784x0
-        RenderBlock {DIV} at (0,34) size 784x18
-          RenderText {#text} at (0,0) size 91x18
-            text run at (0,0) width 91: "DIV3 - flowA"
-  Regions for flow 'flowA'
-    RenderRegion {DIV} #REGION1
-  Thread with flow-name 'flowB'
-    layer at (0,0) size 784x100
-      RenderFlowThread at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 90x18
-            text run at (0,0) width 90: "DIV2 - flowB"
-  Regions for flow 'flowB'
-    RenderRegion {DIV} #REGION2
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to