Repaint cleanup:
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Sep 2015 04:20:54 +0000 (04:20 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Sep 2015 04:20:54 +0000 (04:20 +0000)
layer-child-outline.html -> reftest
layer-full-repaint.html -> reftest
layer-hide-when-needs-layout.html -> reftest
layer-visibility.html -> reftest
layout-state-only-positioned.html -> reftest
layout-state-relative.html -> reftest
layout-state-scrolloffset.html -> reftest
layout-state-scrolloffset2.html -> reftest
layout-state-scrolloffset3.html -> reftest

* fast/repaint/layer-child-outline-expected.html: Added.
* fast/repaint/layer-child-outline.html:
* fast/repaint/layer-full-repaint-expected.html: Added.
* fast/repaint/layer-full-repaint-expected.txt: Removed.
* fast/repaint/layer-full-repaint.html:
* fast/repaint/layer-hide-when-needs-layout-expected.html: Added.
* fast/repaint/layer-hide-when-needs-layout-expected.png: Removed.
* fast/repaint/layer-hide-when-needs-layout-expected.txt: Removed.
* fast/repaint/layer-hide-when-needs-layout.html:
* fast/repaint/layer-visibility-expected.html: Added.
* fast/repaint/layer-visibility-expected.png: Removed.
* fast/repaint/layer-visibility-expected.txt: Removed.
* fast/repaint/layer-visibility.html:
* fast/repaint/layout-state-only-positioned-expected.html: Added.
* fast/repaint/layout-state-only-positioned-expected.txt: Removed.
* fast/repaint/layout-state-only-positioned.html:
* fast/repaint/layout-state-relative-expected.html: Added.
* fast/repaint/layout-state-relative.html:
* fast/repaint/layout-state-scrolloffset-expected.html: Added.
* fast/repaint/layout-state-scrolloffset.html:
* fast/repaint/layout-state-scrolloffset2-expected.html: Added.
* fast/repaint/layout-state-scrolloffset2.html:
* fast/repaint/layout-state-scrolloffset3-expected.html: Added.
* fast/repaint/layout-state-scrolloffset3.html:
* platform/efl/fast/repaint/layer-child-outline-expected.png: Removed.
* platform/efl/fast/repaint/layer-child-outline-expected.txt: Removed.
* platform/efl/fast/repaint/layout-state-only-positioned-expected.png: Removed.
* platform/efl/fast/repaint/layout-state-relative-expected.png: Removed.
* platform/efl/fast/repaint/layout-state-relative-expected.txt: Removed.
* platform/efl/fast/repaint/layout-state-scrolloffset-expected.png: Removed.
* platform/efl/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
* platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png: Removed.
* platform/efl/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
* platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png: Removed.
* platform/efl/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
* platform/gtk/fast/repaint/layer-child-outline-expected.png: Removed.
* platform/gtk/fast/repaint/layer-child-outline-expected.txt: Removed.
* platform/gtk/fast/repaint/layout-state-only-positioned-expected.png: Removed.
* platform/gtk/fast/repaint/layout-state-relative-expected.png: Removed.
* platform/gtk/fast/repaint/layout-state-relative-expected.txt: Removed.
* platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png: Removed.
* platform/gtk/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
* platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png: Removed.
* platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
* platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png: Removed.
* platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
* platform/mac-wk2/fast/repaint/layer-hide-when-needs-layout-expected.txt: Removed.
* platform/mac/fast/repaint/layer-child-outline-expected.png: Removed.
* platform/mac/fast/repaint/layer-child-outline-expected.txt: Removed.
* platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png: Removed.
* platform/mac/fast/repaint/layer-visibility-expected.png: Removed.
* platform/mac/fast/repaint/layout-state-only-positioned-expected.png: Removed.
* platform/mac/fast/repaint/layout-state-relative-expected.png: Removed.
* platform/mac/fast/repaint/layout-state-relative-expected.txt: Removed.
* platform/mac/fast/repaint/layout-state-scrolloffset-expected.png: Removed.
* platform/mac/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
* platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png: Removed.
* platform/mac/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
* platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png: Removed.
* platform/mac/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
* platform/win/fast/repaint/layer-child-outline-expected.txt: Removed.
* platform/win/fast/repaint/layout-state-relative-expected.txt: Removed.
* platform/win/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
* platform/win/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
* platform/win/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.

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

66 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/repaint/layer-child-outline-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layer-child-outline.html
LayoutTests/fast/repaint/layer-full-repaint-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layer-full-repaint-expected.txt [deleted file]
LayoutTests/fast/repaint/layer-full-repaint.html
LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.png [deleted file]
LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.txt [deleted file]
LayoutTests/fast/repaint/layer-hide-when-needs-layout.html
LayoutTests/fast/repaint/layer-visibility-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layer-visibility-expected.png [deleted file]
LayoutTests/fast/repaint/layer-visibility-expected.txt [deleted file]
LayoutTests/fast/repaint/layer-visibility.html
LayoutTests/fast/repaint/layout-state-only-positioned-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layout-state-only-positioned-expected.txt [deleted file]
LayoutTests/fast/repaint/layout-state-only-positioned.html
LayoutTests/fast/repaint/layout-state-relative-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layout-state-relative.html
LayoutTests/fast/repaint/layout-state-scrolloffset-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layout-state-scrolloffset.html
LayoutTests/fast/repaint/layout-state-scrolloffset2-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layout-state-scrolloffset2.html
LayoutTests/fast/repaint/layout-state-scrolloffset3-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/layout-state-scrolloffset3.html
LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-only-positioned-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-only-positioned-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.txt [deleted file]
LayoutTests/platform/mac-wk2/fast/repaint/layer-hide-when-needs-layout-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layer-visibility-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-only-positioned-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/layer-child-outline-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/layout-state-relative-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset2-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset3-expected.txt [deleted file]

index d9178a3..1afd404 100644 (file)
@@ -1,3 +1,83 @@
+2015-09-04  Zalan Bujtas  <zalan@apple.com>
+
+        Repaint cleanup:
+
+        layer-child-outline.html -> reftest
+        layer-full-repaint.html -> reftest
+        layer-hide-when-needs-layout.html -> reftest
+        layer-visibility.html -> reftest
+        layout-state-only-positioned.html -> reftest
+        layout-state-relative.html -> reftest
+        layout-state-scrolloffset.html -> reftest
+        layout-state-scrolloffset2.html -> reftest
+        layout-state-scrolloffset3.html -> reftest
+
+        * fast/repaint/layer-child-outline-expected.html: Added.
+        * fast/repaint/layer-child-outline.html:
+        * fast/repaint/layer-full-repaint-expected.html: Added.
+        * fast/repaint/layer-full-repaint-expected.txt: Removed.
+        * fast/repaint/layer-full-repaint.html:
+        * fast/repaint/layer-hide-when-needs-layout-expected.html: Added.
+        * fast/repaint/layer-hide-when-needs-layout-expected.png: Removed.
+        * fast/repaint/layer-hide-when-needs-layout-expected.txt: Removed.
+        * fast/repaint/layer-hide-when-needs-layout.html:
+        * fast/repaint/layer-visibility-expected.html: Added.
+        * fast/repaint/layer-visibility-expected.png: Removed.
+        * fast/repaint/layer-visibility-expected.txt: Removed.
+        * fast/repaint/layer-visibility.html:
+        * fast/repaint/layout-state-only-positioned-expected.html: Added.
+        * fast/repaint/layout-state-only-positioned-expected.txt: Removed.
+        * fast/repaint/layout-state-only-positioned.html:
+        * fast/repaint/layout-state-relative-expected.html: Added.
+        * fast/repaint/layout-state-relative.html:
+        * fast/repaint/layout-state-scrolloffset-expected.html: Added.
+        * fast/repaint/layout-state-scrolloffset.html:
+        * fast/repaint/layout-state-scrolloffset2-expected.html: Added.
+        * fast/repaint/layout-state-scrolloffset2.html:
+        * fast/repaint/layout-state-scrolloffset3-expected.html: Added.
+        * fast/repaint/layout-state-scrolloffset3.html:
+        * platform/efl/fast/repaint/layer-child-outline-expected.png: Removed.
+        * platform/efl/fast/repaint/layer-child-outline-expected.txt: Removed.
+        * platform/efl/fast/repaint/layout-state-only-positioned-expected.png: Removed.
+        * platform/efl/fast/repaint/layout-state-relative-expected.png: Removed.
+        * platform/efl/fast/repaint/layout-state-relative-expected.txt: Removed.
+        * platform/efl/fast/repaint/layout-state-scrolloffset-expected.png: Removed.
+        * platform/efl/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
+        * platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png: Removed.
+        * platform/efl/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
+        * platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png: Removed.
+        * platform/efl/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
+        * platform/gtk/fast/repaint/layer-child-outline-expected.png: Removed.
+        * platform/gtk/fast/repaint/layer-child-outline-expected.txt: Removed.
+        * platform/gtk/fast/repaint/layout-state-only-positioned-expected.png: Removed.
+        * platform/gtk/fast/repaint/layout-state-relative-expected.png: Removed.
+        * platform/gtk/fast/repaint/layout-state-relative-expected.txt: Removed.
+        * platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png: Removed.
+        * platform/gtk/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
+        * platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png: Removed.
+        * platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
+        * platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png: Removed.
+        * platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
+        * platform/mac-wk2/fast/repaint/layer-hide-when-needs-layout-expected.txt: Removed.
+        * platform/mac/fast/repaint/layer-child-outline-expected.png: Removed.
+        * platform/mac/fast/repaint/layer-child-outline-expected.txt: Removed.
+        * platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png: Removed.
+        * platform/mac/fast/repaint/layer-visibility-expected.png: Removed.
+        * platform/mac/fast/repaint/layout-state-only-positioned-expected.png: Removed.
+        * platform/mac/fast/repaint/layout-state-relative-expected.png: Removed.
+        * platform/mac/fast/repaint/layout-state-relative-expected.txt: Removed.
+        * platform/mac/fast/repaint/layout-state-scrolloffset-expected.png: Removed.
+        * platform/mac/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
+        * platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png: Removed.
+        * platform/mac/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
+        * platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png: Removed.
+        * platform/mac/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
+        * platform/win/fast/repaint/layer-child-outline-expected.txt: Removed.
+        * platform/win/fast/repaint/layout-state-relative-expected.txt: Removed.
+        * platform/win/fast/repaint/layout-state-scrolloffset-expected.txt: Removed.
+        * platform/win/fast/repaint/layout-state-scrolloffset2-expected.txt: Removed.
+        * platform/win/fast/repaint/layout-state-scrolloffset3-expected.txt: Removed.
+
 2015-09-04  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Add tests for DOM highlight commands
diff --git a/LayoutTests/fast/repaint/layer-child-outline-expected.html b/LayoutTests/fast/repaint/layer-child-outline-expected.html
new file mode 100644 (file)
index 0000000..953c955
--- /dev/null
@@ -0,0 +1,10 @@
+<body>
+    <p>
+        This tests repainting of a layer's children's outlines.
+    </p>
+    <hr>
+    <div style="position: absolute; top: 47px; left: 3px; width: 100px; height: 100px; border: dotted red thick;">
+      <div style="width: 100px; height: 100px; background: silver;"></div>
+    </div>
+    <div style="position: relative; top: -2px; left: -2px; width: 100px; height: 100px; border: dashed 2px;"></div>
+</body>
index 6ae577f..ba040e1 100644 (file)
@@ -1,11 +1,3 @@
-<html>
-<head>
-    <title></title>
-    <script type="text/javascript">
-    if (window.testRunner)
-        testRunner.testRepaint();
-    </script>
-</head>
 <body>
     <p>
         This tests repainting of a layer's children's outlines.
diff --git a/LayoutTests/fast/repaint/layer-full-repaint-expected.html b/LayoutTests/fast/repaint/layer-full-repaint-expected.html
new file mode 100644 (file)
index 0000000..3a2fe44
--- /dev/null
@@ -0,0 +1 @@
+<div style="height: 100px; width: 100px; background-color: green;"></div>
diff --git a/LayoutTests/fast/repaint/layer-full-repaint-expected.txt b/LayoutTests/fast/repaint/layer-full-repaint-expected.txt
deleted file mode 100644 (file)
index 489faa9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-(repaint rects
-  (rect 8 8 100 100)
-)
-
index c0de5ea..2b3c116 100644 (file)
             text-shadow: red 5px 5px 0;
         }
     </style>
-    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
-    <script>
-        function repaintTest()
+    <script type="text/javascript">
+        if (window.testRunner)
+            testRunner.waitUntilDone();
+        function runTest()
         {
-           document.getElementById('test').className = "selected";
+            document.getElementById('test').className = "selected";
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
     </script>
 </head>
-<body onload="runRepaintTest();">
+<body onload="setTimeout(runTest, 0);">
         <div id="test"></div>
 </body>
 </html>
diff --git a/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.html b/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.html
new file mode 100644 (file)
index 0000000..4eed311
--- /dev/null
@@ -0,0 +1 @@
+<div style="background: green; width: 100px; height: 100px;"></div>
diff --git a/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.png b/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.png
deleted file mode 100644 (file)
index 84d4e6a..0000000
Binary files a/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.txt b/LayoutTests/fast/repaint/layer-hide-when-needs-layout-expected.txt
deleted file mode 100644 (file)
index 623ae2f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (8,8) size 784x100
-  RenderBlock (relative positioned) {DIV} at (0,0) size 784x100
-    RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
index 263a391..3fc4b77 100644 (file)
@@ -1,18 +1,21 @@
 <html>
 <head>
     <title>Test for http://bugs.webkit.org/show_bug.cgi?id=13544</title>
-    <script src="resources/repaint.js" type="text/javascript"></script>
     <script type="text/javascript">
-        function repaintTest()
+        if (window.testRunner)
+            testRunner.waitUntilDone();
+        function runTest()
         {
             var div = document.getElementById("target");
             div.style.visibility = 'hidden';
             // Now make this a layout hint to avoid the repaint done in setStyle().
             div.style.width = '50px';
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
     </script>
 </head>
-<body onload="runRepaintTest()">
+<body onload="setTimeout(runTest, 0);">
     <div style="position: relative;">
         <div style="background: green; width: 100px; height: 100px;">
         </div>
diff --git a/LayoutTests/fast/repaint/layer-visibility-expected.html b/LayoutTests/fast/repaint/layer-visibility-expected.html
new file mode 100644 (file)
index 0000000..63d883f
--- /dev/null
@@ -0,0 +1 @@
+<div style="position: absolute; top: 0; left: 0px; width: 100px; height: 100px; background-color: green;"></div>
diff --git a/LayoutTests/fast/repaint/layer-visibility-expected.png b/LayoutTests/fast/repaint/layer-visibility-expected.png
deleted file mode 100644 (file)
index 19e32fc..0000000
Binary files a/LayoutTests/fast/repaint/layer-visibility-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/repaint/layer-visibility-expected.txt b/LayoutTests/fast/repaint/layer-visibility-expected.txt
deleted file mode 100644 (file)
index 09927d8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (0,0) size 100x100
-  RenderBlock (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
index 11ee879..ea4db6a 100644 (file)
@@ -1,29 +1,22 @@
 <html>
 <head>
-<script>
-    function test()
+<script type="text/javascript">
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+    function runTest()
     {
         document.body.offsetTop;
         var target = document.getElementById("target");
         target.style.visibility = "visible";
         document.body.offsetTop;
-        
-        if (window.testRunner) {
-            testRunner.display();
-            finish();
-        } else
-            setTimeout(finish, 0);
-    }
-
-    function finish()
-    {
-        var target = document.getElementById("target");
         target.style.left = "0";
         target.style.backgroundColor = "green";
-    }
+        if (window.testRunner)
+            testRunner.notifyDone();
+        }
 </script>
 </head>
-<body onload="test()">
+<body onload="setTimeout(runTest, 0);">
     <div id="target" style="position: absolute; top: 0; left: 100px; width: 100px; height: 100px; background-color: red; visibility: hidden;"></div>
 </body>
 </html>
diff --git a/LayoutTests/fast/repaint/layout-state-only-positioned-expected.html b/LayoutTests/fast/repaint/layout-state-only-positioned-expected.html
new file mode 100644 (file)
index 0000000..2a34e23
--- /dev/null
@@ -0,0 +1,3 @@
+<div style="position: absolute; top: 50px; left: 0; overflow: overlay; width: 100px; height: 100px; border: solid">
+    <div id="q" style="position: absolute; top: 0; height: 200px; width: 10px;"></div>
+</div>
diff --git a/LayoutTests/fast/repaint/layout-state-only-positioned-expected.txt b/LayoutTests/fast/repaint/layout-state-only-positioned-expected.txt
deleted file mode 100644 (file)
index 12a84ef..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (0,50) size 106x106 clip at (3,53) size 85x100 scrollHeight 200
-  RenderBlock (positioned) {DIV} at (0,50) size 106x106 [border: (3px solid #000000)]
-layer at (3,53) size 10x200 backgroundClip at (3,53) size 85x100 clip at (3,53) size 85x100 outlineClip at (3,53) size 85x100
-  RenderBlock (positioned) {DIV} at (3,3) size 10x200
index 1031c8d..bb01264 100644 (file)
@@ -1,13 +1,16 @@
 <head>
-    <script src="resources/repaint.js" type="text/javascript"></script>
-    <script>
-        function repaintTest()
+    <script type="text/javascript">
+        if (window.testRunner)
+            testRunner.waitUntilDone();
+        function runTest()
         {
             document.getElementById("q").style.height = "200px";
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
     </script>
 </head>
-<body onload="runRepaintTest()">
+<body onload="setTimeout(runTest, 0);">
     <div style="position: absolute; top: 50px; left: 0; overflow: overlay; width: 100px; height: 100px; border: solid">
         <div id="q" style="position: absolute; top: 0; height: 50px; width: 10px;"></div>
     </div>
diff --git a/LayoutTests/fast/repaint/layout-state-relative-expected.html b/LayoutTests/fast/repaint/layout-state-relative-expected.html
new file mode 100644 (file)
index 0000000..21a1527
--- /dev/null
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+        "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<body>
+    <p>
+        Repaint test for <i><a href="rdar://problem/6048566">rdar://problem/6048566</a>
+        Repaint original element's position, not its offset position</i>.
+    </p>
+    <div style="position: relative; top: 100px;">PASS</div>
+</body>
+</html>
index 6a4b8ff..b64119f 100644 (file)
@@ -2,15 +2,18 @@
         "http://www.w3.org/TR/html4/strict.dtd">
 <html lang="en">
 <head>
-    <script src="resources/repaint.js" type="text/javascript"></script>
     <script type="text/javascript">
-       function repaintTest()
-       {
-           document.getElementById("target").innerText = "PASS";
-       }
+        if (window.testRunner)
+            testRunner.waitUntilDone();
+        function runTest()
+        {
+            document.getElementById("target").innerText = "PASS";
+            if (window.testRunner)
+                testRunner.notifyDone();
+        }
     </script>
 </head>
-<body onload="runRepaintTest();">
+<body onload="setTimeout(runTest, 0);">
     <p>
         Repaint test for <i><a href="rdar://problem/6048566">rdar://problem/6048566</a>
         Repaint original element's position, not its offset position</i>.
diff --git a/LayoutTests/fast/repaint/layout-state-scrolloffset-expected.html b/LayoutTests/fast/repaint/layout-state-scrolloffset-expected.html
new file mode 100644 (file)
index 0000000..eb9d1f9
--- /dev/null
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<body>
+  You should see the text 'after' in the inner box with no mangled pixels.
+  <div style="position: absolute; width: 300px; height: 300px; border: solid 1px red">
+    <div style="position: relative; width: 100px; height: 100px; left: 90px; top: 90px; border: solid 1px green;">after</div>
+    </div>
+  </div>
+</body>
+</html>
index 11874eb..fb0129c 100644 (file)
@@ -17,9 +17,6 @@
     testRunner.waitUntilDone();
 
   window.setTimeout(function() {
-    if (window.testRunner)
-      testRunner.display();
-
     document.getElementById('target').innerText = 'after';
 
     if (window.testRunner)
diff --git a/LayoutTests/fast/repaint/layout-state-scrolloffset2-expected.html b/LayoutTests/fast/repaint/layout-state-scrolloffset2-expected.html
new file mode 100644 (file)
index 0000000..8a3bc27
--- /dev/null
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<body>
+  You should see the text 'after' in the inner box, no mangled pixels.
+  <div style="position: absolute; width: 300px; height: 300px; border: solid 1px yellow">
+    <div style="width: 299px; height: 299px; border-width: 0px 1px 1px 0px; border-style: solid; border-color: red;">
+      <div style="position: relative; width: 100px; height: 100px; left: 92px; top: 92px; border: solid 1px green;">after</div>
+    </div>
+  </div>
+</body>
+</html>
index 211c777..eac390a 100644 (file)
@@ -24,9 +24,6 @@
     testRunner.waitUntilDone();
 
   window.setTimeout(function() {
-    if (window.testRunner)
-      testRunner.display();
-
     document.getElementById('target').innerText = 'after'
 
     if (window.testRunner)
diff --git a/LayoutTests/fast/repaint/layout-state-scrolloffset3-expected.html b/LayoutTests/fast/repaint/layout-state-scrolloffset3-expected.html
new file mode 100644 (file)
index 0000000..ef5ce5d
--- /dev/null
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<body>
+  You should see the text 'after' in the inner box with no mangled pixels.
+  <div style="position: absolute; width: 125px; height: 300px; border: solid 1px red">
+      <div style="position: relative; width: 34px; height: 100px; left: 90px; top: 90px; border-style: solid; border-color: green; border-width: 1px 0px 1px 1px;">after</div>
+    </div>
+  </div>
+</body>
+</html>
index e203fba..ba1493b 100644 (file)
@@ -17,9 +17,6 @@
     testRunner.waitUntilDone();
 
   window.setTimeout(function() {
-    if (window.testRunner)
-      testRunner.display();
-
     document.getElementById('target').innerText = 'after';
 
     if (window.testRunner)
diff --git a/LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.png b/LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.png
deleted file mode 100644 (file)
index 9824f63..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.txt b/LayoutTests/platform/efl/fast/repaint/layer-child-outline-expected.txt
deleted file mode 100644 (file)
index 2f3ec0f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 319x17
-          text run at (0,0) width 319: "This tests repainting of a layer's children's outlines."
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-layer at (8,52) size 100x100
-  RenderBlock (relative positioned) {DIV} at (0,44) size 100x100 [bgcolor=#C0C0C0]
-    RenderBlock {DIV} at (0,0) size 100x100
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-only-positioned-expected.png b/LayoutTests/platform/efl/fast/repaint/layout-state-only-positioned-expected.png
deleted file mode 100644 (file)
index 070cfc0..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/layout-state-only-positioned-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.png b/LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.png
deleted file mode 100644 (file)
index 8318c0b..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.txt b/LayoutTests/platform/efl/fast/repaint/layout-state-relative-expected.txt
deleted file mode 100644 (file)
index 7f61d42..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x76
-  RenderBlock {HTML} at (0,0) size 800x76
-    RenderBody {BODY} at (8,16) size 784x52
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 100x17
-          text run at (0,0) width 100: "Repaint test for "
-        RenderInline {I} at (0,0) size 514x17
-          RenderInline {A} at (0,0) size 154x17 [color=#0000EE]
-            RenderText {#text} at (100,0) size 154x17
-              text run at (100,0) width 154: "rdar://problem/6048566"
-          RenderText {#text} at (254,0) size 360x17
-            text run at (254,0) width 4: " "
-            text run at (258,0) width 356: "Repaint original element's position, not its offset position"
-        RenderText {#text} at (614,0) size 4x17
-          text run at (614,0) width 4: "."
-layer at (8,150) size 784x18
-  RenderBlock (relative positioned) {DIV} at (0,34) size 784x18
-    RenderText {#text} at (0,0) size 39x17
-      text run at (0,0) width 39: "PASS"
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.png b/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.png
deleted file mode 100644 (file)
index 27ec067..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.txt b/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset-expected.txt
deleted file mode 100644 (file)
index a50ee6f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 444x17
-        text run at (0,0) width 444: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 302x302 clip at (9,27) size 300x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,26) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,117) size 102x102 clip at (100,118) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x17
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png b/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png
deleted file mode 100644 (file)
index 3dad53c..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.txt b/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset2-expected.txt
deleted file mode 100644 (file)
index 93c091c..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 416x17
-        text run at (0,0) width 416: "You should see the text 'after' in the inner box, no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 302x302 clip at (9,27) size 300x300 scrollX 2 scrollY 2 scrollWidth 302 scrollHeight 302
-  RenderBlock (positioned) {DIV} at (8,26) size 302x302 [border: (1px solid #FFFF00)]
-layer at (7,25) size 302x302 backgroundClip at (9,27) size 300x300 clip at (9,27) size 299x299 outlineClip at (9,27) size 300x300 scrollX 7 scrollY 7 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (1,1) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (101,119) size 102x102 clip at (102,120) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x17
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png b/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png
deleted file mode 100644 (file)
index e943aa0..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.txt b/LayoutTests/platform/efl/fast/repaint/layout-state-scrolloffset3-expected.txt
deleted file mode 100644 (file)
index b75af92..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 444x17
-        text run at (0,0) width 444: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 127x302 clip at (9,27) size 125x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,26) size 127x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,117) size 102x102 backgroundClip at (99,117) size 35x102 clip at (100,118) size 34x100 outlineClip at (9,27) size 125x300
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x17
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.png b/LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.png
deleted file mode 100644 (file)
index faa02c6..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.txt b/LayoutTests/platform/gtk/fast/repaint/layer-child-outline-expected.txt
deleted file mode 100644 (file)
index 918b5b0..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x17
-        RenderText {#text} at (0,0) size 319x17
-          text run at (0,0) width 319: "This tests repainting of a layer's children's outlines."
-      RenderBlock {HR} at (0,33) size 784x2 [border: (1px inset #000000)]
-layer at (8,51) size 100x100
-  RenderBlock (relative positioned) {DIV} at (0,43) size 100x100 [bgcolor=#C0C0C0]
-    RenderBlock {DIV} at (0,0) size 100x100
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-only-positioned-expected.png b/LayoutTests/platform/gtk/fast/repaint/layout-state-only-positioned-expected.png
deleted file mode 100644 (file)
index fe348f6..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/layout-state-only-positioned-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.png b/LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.png
deleted file mode 100644 (file)
index 6829bbc..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.txt b/LayoutTests/platform/gtk/fast/repaint/layout-state-relative-expected.txt
deleted file mode 100644 (file)
index da5ec15..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x74
-  RenderBlock {HTML} at (0,0) size 800x74
-    RenderBody {BODY} at (8,16) size 784x50
-      RenderBlock {P} at (0,0) size 784x17
-        RenderText {#text} at (0,0) size 100x17
-          text run at (0,0) width 100: "Repaint test for "
-        RenderInline {I} at (0,0) size 514x17
-          RenderInline {A} at (0,0) size 154x17 [color=#0000EE]
-            RenderText {#text} at (100,0) size 154x17
-              text run at (100,0) width 154: "rdar://problem/6048566"
-          RenderText {#text} at (254,0) size 360x17
-            text run at (254,0) width 4: " "
-            text run at (258,0) width 356: "Repaint original element's position, not its offset position"
-        RenderText {#text} at (614,0) size 4x17
-          text run at (614,0) width 4: "."
-layer at (8,149) size 784x17
-  RenderBlock (relative positioned) {DIV} at (0,33) size 784x17
-    RenderText {#text} at (0,0) size 39x17
-      text run at (0,0) width 39: "PASS"
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png b/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png
deleted file mode 100644 (file)
index d612b65..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.txt b/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset-expected.txt
deleted file mode 100644 (file)
index 6cd303d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x33
-  RenderBlock {HTML} at (0,0) size 800x33
-    RenderBody {BODY} at (8,8) size 784x17
-      RenderText {#text} at (0,0) size 444x17
-        text run at (0,0) width 444: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,25) size 302x302 clip at (9,26) size 300x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,25) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,116) size 102x102 clip at (100,117) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x17
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png b/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png
deleted file mode 100644 (file)
index 1f5a292..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.txt b/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.txt
deleted file mode 100644 (file)
index 4d96b2d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x33
-  RenderBlock {HTML} at (0,0) size 800x33
-    RenderBody {BODY} at (8,8) size 784x17
-      RenderText {#text} at (0,0) size 416x17
-        text run at (0,0) width 416: "You should see the text 'after' in the inner box, no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,25) size 302x302 clip at (9,26) size 300x300 scrollX 2 scrollY 2 scrollWidth 302 scrollHeight 302
-  RenderBlock (positioned) {DIV} at (8,25) size 302x302 [border: (1px solid #FFFF00)]
-layer at (7,24) size 302x302 backgroundClip at (9,26) size 300x300 clip at (9,26) size 299x299 outlineClip at (9,26) size 300x300 scrollX 7 scrollY 7 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (1,1) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (101,118) size 102x102 clip at (102,119) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x17
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png b/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png
deleted file mode 100644 (file)
index 62346f9..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.txt b/LayoutTests/platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.txt
deleted file mode 100644 (file)
index f38db52..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x33
-  RenderBlock {HTML} at (0,0) size 800x33
-    RenderBody {BODY} at (8,8) size 784x17
-      RenderText {#text} at (0,0) size 444x17
-        text run at (0,0) width 444: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,25) size 127x302 clip at (9,26) size 125x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,25) size 127x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,116) size 102x102 backgroundClip at (99,116) size 35x102 clip at (100,117) size 34x100 outlineClip at (9,26) size 125x300
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x17
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/mac-wk2/fast/repaint/layer-hide-when-needs-layout-expected.txt b/LayoutTests/platform/mac-wk2/fast/repaint/layer-hide-when-needs-layout-expected.txt
deleted file mode 100644 (file)
index dce124a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (8,8) size 784x100
-  RenderBlock (relative positioned) {DIV} at (0,0) size 784x100
-    RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
-layer at (8,8) size 50x100
-  RenderBlock (positioned) {DIV} at (0,0) size 50x100 [bgcolor=#FF0000]
diff --git a/LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.png b/LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.png
deleted file mode 100644 (file)
index 9a74c89..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.txt b/LayoutTests/platform/mac/fast/repaint/layer-child-outline-expected.txt
deleted file mode 100644 (file)
index f45f816..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 328x18
-          text run at (0,0) width 328: "This tests repainting of a layer's children's outlines."
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-layer at (8,52) size 100x100
-  RenderBlock (relative positioned) {DIV} at (0,44) size 100x100 [bgcolor=#C0C0C0]
-    RenderBlock {DIV} at (0,0) size 100x100
diff --git a/LayoutTests/platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png b/LayoutTests/platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png
deleted file mode 100644 (file)
index f32e618..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layer-visibility-expected.png b/LayoutTests/platform/mac/fast/repaint/layer-visibility-expected.png
deleted file mode 100644 (file)
index 74edc68..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layer-visibility-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-only-positioned-expected.png b/LayoutTests/platform/mac/fast/repaint/layout-state-only-positioned-expected.png
deleted file mode 100644 (file)
index 94f54a1..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layout-state-only-positioned-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.png b/LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.png
deleted file mode 100644 (file)
index 94cb87a..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.txt b/LayoutTests/platform/mac/fast/repaint/layout-state-relative-expected.txt
deleted file mode 100644 (file)
index 55e13d1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x76
-  RenderBlock {HTML} at (0,0) size 800x76
-    RenderBody {BODY} at (8,16) size 784x52
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 103x18
-          text run at (0,0) width 103: "Repaint test for "
-        RenderInline {I} at (0,0) size 526x18
-          RenderInline {A} at (0,0) size 156x18 [color=#0000EE]
-            RenderText {#text} at (102,0) size 156x18
-              text run at (102,0) width 156: "rdar://problem/6048566"
-          RenderText {#text} at (257,0) size 371x18
-            text run at (257,0) width 5: " "
-            text run at (261,0) width 367: "Repaint original element's position, not its offset position"
-        RenderText {#text} at (627,0) size 5x18
-          text run at (627,0) width 5: "."
-layer at (8,150) size 784x18
-  RenderBlock (relative positioned) {DIV} at (0,34) size 784x18
-    RenderText {#text} at (0,0) size 37x18
-      text run at (0,0) width 37: "PASS"
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.png b/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.png
deleted file mode 100644 (file)
index 511b112..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.txt b/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset-expected.txt
deleted file mode 100644 (file)
index 55b233a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 451x18
-        text run at (0,0) width 451: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 302x302 clip at (9,27) size 300x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,26) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,117) size 102x102 clip at (100,118) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 30x18
-        text run at (0,0) width 30: "after"
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png b/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png
deleted file mode 100644 (file)
index 0f8845a..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.txt b/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset2-expected.txt
deleted file mode 100644 (file)
index 13b5d51..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 422x18
-        text run at (0,0) width 422: "You should see the text 'after' in the inner box, no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 302x302 clip at (9,27) size 300x300 scrollX 2 scrollY 2 scrollWidth 302 scrollHeight 302
-  RenderBlock (positioned) {DIV} at (8,26) size 302x302 [border: (1px solid #FFFF00)]
-layer at (7,25) size 302x302 backgroundClip at (9,27) size 300x300 clip at (9,27) size 299x299 outlineClip at (9,27) size 300x300 scrollX 7 scrollY 7 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (1,1) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (101,119) size 102x102 clip at (102,120) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 30x18
-        text run at (0,0) width 30: "after"
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png b/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png
deleted file mode 100644 (file)
index 4fcd21e..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.txt b/LayoutTests/platform/mac/fast/repaint/layout-state-scrolloffset3-expected.txt
deleted file mode 100644 (file)
index af9beee..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 451x18
-        text run at (0,0) width 451: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 127x302 clip at (9,27) size 125x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,26) size 127x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,117) size 102x102 backgroundClip at (99,117) size 35x102 clip at (100,118) size 34x100 outlineClip at (9,27) size 125x300
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 30x18
-        text run at (0,0) width 30: "after"
diff --git a/LayoutTests/platform/win/fast/repaint/layer-child-outline-expected.txt b/LayoutTests/platform/win/fast/repaint/layer-child-outline-expected.txt
deleted file mode 100644 (file)
index 9105720..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 319x18
-          text run at (0,0) width 319: "This tests repainting of a layer's children's outlines."
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-layer at (8,52) size 100x100
-  RenderBlock (relative positioned) {DIV} at (0,44) size 100x100 [bgcolor=#C0C0C0]
-    RenderBlock {DIV} at (0,0) size 100x100
diff --git a/LayoutTests/platform/win/fast/repaint/layout-state-relative-expected.txt b/LayoutTests/platform/win/fast/repaint/layout-state-relative-expected.txt
deleted file mode 100644 (file)
index b554619..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x76
-  RenderBlock {HTML} at (0,0) size 800x76
-    RenderBody {BODY} at (8,16) size 784x52
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 100x18
-          text run at (0,0) width 100: "Repaint test for "
-        RenderInline {I} at (0,0) size 514x18
-          RenderInline {A} at (0,0) size 154x18 [color=#0000EE]
-            RenderText {#text} at (100,0) size 154x18
-              text run at (100,0) width 154: "rdar://problem/6048566"
-          RenderText {#text} at (254,0) size 360x18
-            text run at (254,0) width 4: " "
-            text run at (258,0) width 356: "Repaint original element's position, not its offset position"
-        RenderText {#text} at (614,0) size 4x18
-          text run at (614,0) width 4: "."
-layer at (8,150) size 784x18
-  RenderBlock (relative positioned) {DIV} at (0,34) size 784x18
-    RenderText {#text} at (0,0) size 39x18
-      text run at (0,0) width 39: "PASS"
diff --git a/LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset-expected.txt b/LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset-expected.txt
deleted file mode 100644 (file)
index eaaa7ba..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 444x18
-        text run at (0,0) width 444: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 302x302 clip at (9,27) size 300x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,26) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,117) size 102x102 clip at (100,118) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x18
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset2-expected.txt b/LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset2-expected.txt
deleted file mode 100644 (file)
index fadf7d5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 416x18
-        text run at (0,0) width 416: "You should see the text 'after' in the inner box, no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 302x302 clip at (9,27) size 300x300 scrollX 2 scrollY 2 scrollWidth 302 scrollHeight 302
-  RenderBlock (positioned) {DIV} at (8,26) size 302x302 [border: (1px solid #FFFF00)]
-layer at (7,25) size 302x302 backgroundClip at (9,27) size 300x300 clip at (9,27) size 299x299 outlineClip at (9,27) size 300x300 scrollX 7 scrollY 7 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (1,1) size 302x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (101,119) size 102x102 clip at (102,120) size 100x100
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x18
-        text run at (0,0) width 28: "after"
diff --git a/LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset3-expected.txt b/LayoutTests/platform/win/fast/repaint/layout-state-scrolloffset3-expected.txt
deleted file mode 100644 (file)
index 8af2f46..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  RenderBlock {HTML} at (0,0) size 800x34
-    RenderBody {BODY} at (8,8) size 784x18
-      RenderText {#text} at (0,0) size 444x18
-        text run at (0,0) width 444: "You should see the text 'after' in the inner box with no mangled pixels."
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
-layer at (8,26) size 127x302 clip at (9,27) size 125x300 scrollX 10 scrollY 10 scrollWidth 1000 scrollHeight 1000
-  RenderBlock (positioned) {DIV} at (8,26) size 127x302 [border: (1px solid #FF0000)]
-    RenderBlock {DIV} at (1,1) size 1000x1000
-layer at (99,117) size 102x102 backgroundClip at (99,117) size 35x102 clip at (100,118) size 34x100 outlineClip at (9,27) size 125x300
-  RenderBlock (positioned) {DIV} at (101,101) size 102x102 [border: (1px solid #008000)]
-    RenderBlock {DIV} at (1,1) size 50x50
-      RenderText {#text} at (0,0) size 28x18
-        text run at (0,0) width 28: "after"