Repaint cleanup:
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Aug 2015 21:38:43 +0000 (21:38 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Aug 2015 21:38:43 +0000 (21:38 +0000)
absolute-position-change-containing-block.html -> repaint rect tracking.
absolute-position-changed.html -> reftest.

Unreviewed.

* fast/repaint/absolute-position-change-containing-block-expected.png: Removed.
* fast/repaint/absolute-position-change-containing-block-expected.txt:
* fast/repaint/absolute-position-change-containing-block.html:
* fast/repaint/absolute-position-changed-expected.html: Added.
* fast/repaint/absolute-position-changed-expected.png: Removed.
* fast/repaint/absolute-position-changed-expected.txt: Removed.
* fast/repaint/absolute-position-changed.html:
* platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png: Removed.
* platform/mac/fast/repaint/absolute-position-changed-expected.png: Removed.

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

LayoutTests/ChangeLog
LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.png [deleted file]
LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.txt
LayoutTests/fast/repaint/absolute-position-change-containing-block.html
LayoutTests/fast/repaint/absolute-position-changed-expected.html [new file with mode: 0644]
LayoutTests/fast/repaint/absolute-position-changed-expected.png [deleted file]
LayoutTests/fast/repaint/absolute-position-changed-expected.txt [deleted file]
LayoutTests/fast/repaint/absolute-position-changed.html
LayoutTests/platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/absolute-position-changed-expected.png [deleted file]

index 05587c5..731ff25 100644 (file)
@@ -1,3 +1,21 @@
+2015-08-31  Zalan Bujtas  <zalan@apple.com>
+
+        Repaint cleanup:
+        absolute-position-change-containing-block.html -> repaint rect tracking.
+        absolute-position-changed.html -> reftest.
+
+        Unreviewed.
+
+        * fast/repaint/absolute-position-change-containing-block-expected.png: Removed.
+        * fast/repaint/absolute-position-change-containing-block-expected.txt:
+        * fast/repaint/absolute-position-change-containing-block.html:
+        * fast/repaint/absolute-position-changed-expected.html: Added.
+        * fast/repaint/absolute-position-changed-expected.png: Removed.
+        * fast/repaint/absolute-position-changed-expected.txt: Removed.
+        * fast/repaint/absolute-position-changed.html:
+        * platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png: Removed.
+        * platform/mac/fast/repaint/absolute-position-changed-expected.png: Removed.
+
 2015-08-31  Chris Dumez  <cdumez@apple.com>
 
         NodeFilter.SHOW_ALL has wrong value on 32-bit
diff --git a/LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.png b/LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.png
deleted file mode 100644 (file)
index 7590ae7..0000000
Binary files a/LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.png and /dev/null differ
index 8b13789..b2d535f 100644 (file)
@@ -1 +1,11 @@
+(repaint rects
+  (rect 8 5000 100 100)
+  (rect 108 5100 100 100)
+  (rect 8 8 784 2000)
+  (rect 108 5100 100 100)
+  (rect 100 100 100 100)
+  (rect 16 5008 100 100)
+  (rect 16 5008 100 100)
+  (rect 8 8 100 100)
+)
 
index 83db7de..f81650c 100644 (file)
@@ -1,10 +1,8 @@
 <html>
 <head>
     <link rel="stylesheet" href="resources/default.css">
-    <script src="resources/repaint.js" type="text/javascript"></script>
+    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
     <script type="text/javascript">
-        if (window.testRunner)
-            testRunner.dumpAsText(true);
         function repaintTest()
         {
             document.getElementById('container').style.position = 'static';
diff --git a/LayoutTests/fast/repaint/absolute-position-changed-expected.html b/LayoutTests/fast/repaint/absolute-position-changed-expected.html
new file mode 100644 (file)
index 0000000..1d10a02
--- /dev/null
@@ -0,0 +1,8 @@
+<html>
+<head>
+    <link rel="stylesheet" href="resources/default.css">
+</head>
+<body>
+    <div style="top: 200px; left:100px;" class="absolute green"></div>
+</body>
+</html>
diff --git a/LayoutTests/fast/repaint/absolute-position-changed-expected.png b/LayoutTests/fast/repaint/absolute-position-changed-expected.png
deleted file mode 100644 (file)
index a3d8e18..0000000
Binary files a/LayoutTests/fast/repaint/absolute-position-changed-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/repaint/absolute-position-changed-expected.txt b/LayoutTests/fast/repaint/absolute-position-changed-expected.txt
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
index 03e2a67..afc8163 100644 (file)
@@ -1,20 +1,21 @@
 <html>
 <head>
     <link rel="stylesheet" href="resources/default.css">
-    <script src="resources/repaint.js" type="text/javascript"></script>
     <script type="text/javascript">
         if (window.testRunner)
-            testRunner.dumpAsText(true);
-        function repaintTest()
-        {
-            document.getElementById('absoluteDiv').style.top = '700px';
+          testRunner.waitUntilDone();
+
+        function repaintTest() {
+          document.getElementById('absoluteDiv').style.top = '700px';
+          if (window.testRunner)
+            testRunner.notifyDone();
         }
     </script>
 </head>
-<body style="height:2000px;" onload="runRepaintTest()">
+<body style="height:2000px;" onload="setTimeout(repaintTest, 0);">
     <!-- You should see 1 green rectangle in the output and no red. -->
     <div style="top: 200px; left: 100px;" class="fixed red"></div>
-    <div id="absoluteDiv" style="top: 500px; left:100px;" class="absolute green"></div></div>
+    <div id="absoluteDiv" style="top: 500px; left:100px;" class="absolute green"></div>
     <script>
         window.scrollTo(0, 500);
     </script>
diff --git a/LayoutTests/platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png b/LayoutTests/platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png
deleted file mode 100644 (file)
index ca789be..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/absolute-position-changed-expected.png b/LayoutTests/platform/mac/fast/repaint/absolute-position-changed-expected.png
deleted file mode 100644 (file)
index ab67f2c..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/absolute-position-changed-expected.png and /dev/null differ