Repaint cleanup: 4776765.html. Use repaint rect tracking.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Aug 2015 18:15:09 +0000 (18:15 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Aug 2015 18:15:09 +0000 (18:15 +0000)
Unreviewed.

* fast/repaint/4776765-expected.txt: Added.
* fast/repaint/4776765.html:
* platform/efl/fast/repaint/4776765-expected.png: Removed.
* platform/efl/fast/repaint/4776765-expected.txt: Removed.
* platform/gtk/fast/repaint/4776765-expected.png: Removed.
* platform/gtk/fast/repaint/4776765-expected.txt: Removed.
* platform/mac/fast/repaint/4776765-expected.png: Removed.
* platform/mac/fast/repaint/4776765-expected.txt: Removed.
* platform/win/fast/repaint/4776765-expected.txt: Removed.

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

LayoutTests/ChangeLog
LayoutTests/fast/repaint/4776765-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/4776765.html
LayoutTests/platform/efl/fast/repaint/4776765-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/4776765-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/4776765-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/4776765-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/4776765-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/4776765-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/4776765-expected.txt [deleted file]

index f2456f0..e573433 100644 (file)
@@ -1,3 +1,19 @@
+2015-08-31  Zalan Bujtas  <zalan@apple.com>
+
+        Repaint cleanup: 4776765.html. Use repaint rect tracking.
+
+        Unreviewed.
+
+        * fast/repaint/4776765-expected.txt: Added.
+        * fast/repaint/4776765.html:
+        * platform/efl/fast/repaint/4776765-expected.png: Removed.
+        * platform/efl/fast/repaint/4776765-expected.txt: Removed.
+        * platform/gtk/fast/repaint/4776765-expected.png: Removed.
+        * platform/gtk/fast/repaint/4776765-expected.txt: Removed.
+        * platform/mac/fast/repaint/4776765-expected.png: Removed.
+        * platform/mac/fast/repaint/4776765-expected.txt: Removed.
+        * platform/win/fast/repaint/4776765-expected.txt: Removed.
+
 2015-08-31  Chris Dumez  <cdumez@apple.com>
 
         Unreviewed, mark a few tests as failing on Windows.
diff --git a/LayoutTests/fast/repaint/4776765-expected.txt b/LayoutTests/fast/repaint/4776765-expected.txt
new file mode 100644 (file)
index 0000000..a54f8a2
--- /dev/null
@@ -0,0 +1,21 @@
+
+
+
+(repaint rects
+  (rect 5 41 790 6)
+  (rect -3 -3 3 606)
+  (rect 800 -3 3 606)
+  (rect -3 -3 806 3)
+  (rect -3 600 806 3)
+  (rect -3 -3 3 606)
+  (rect 800 -3 3 606)
+  (rect -3 -3 806 3)
+  (rect -3 600 806 3)
+  (rect 5 41 790 6)
+  (rect 5 41 790 24)
+  (rect 5 47 790 18)
+  (rect 5 44 790 3)
+  (rect 8 26 1 18)
+  (rect 8 44 1 18)
+)
+
index 4f9b24b..d9c721c 100644 (file)
@@ -1,11 +1,11 @@
-<script src="resources/repaint.js" type="text/javascript"></script>
+<title>This tests for a repaint bug.  The old caret position should be invalidated when a paragraph separator is inserted.</title>
+<script src="resources/text-based-repaint.js" type="text/javascript"></script>
 <script type="text/javascript">
 function repaintTest() {
     document.execCommand("InsertParagraph");
 }
 </script>
 <body onload="runRepaintTest();">
-<p>This tests for a repaint bug.  The old caret position should be invalidated when a paragraph separator is inserted.</p>
 <div contenteditable="true">
 <div><br></div>
 <div id="div"><br></div>
@@ -13,7 +13,6 @@ function repaintTest() {
 <script>
 var div = document.getElementById("div");
 var sel = window.getSelection();
-
 sel.setPosition(div, 0);
 </script>
 </body>
diff --git a/LayoutTests/platform/efl/fast/repaint/4776765-expected.png b/LayoutTests/platform/efl/fast/repaint/4776765-expected.png
deleted file mode 100644 (file)
index 21cf49e..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/4776765-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/4776765-expected.txt b/LayoutTests/platform/efl/fast/repaint/4776765-expected.txt
deleted file mode 100644 (file)
index e2c6a1c..0000000
+++ /dev/null
@@ -1,17 +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 699x17
-          text run at (0,0) width 175: "This tests for a repaint bug. "
-          text run at (175,0) width 524: "The old caret position should be invalidated when a paragraph separator is inserted."
-      RenderBlock {DIV} at (0,34) size 784x54
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderBR {BR} at (0,0) size 0x17
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderBR {BR} at (0,0) size 0x17
-        RenderBlock {DIV} at (0,36) size 784x18
-          RenderBR {BR} at (0,0) size 0x17
-caret: position 0 of child 0 {BR} of child 4 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/fast/repaint/4776765-expected.png b/LayoutTests/platform/gtk/fast/repaint/4776765-expected.png
deleted file mode 100644 (file)
index e871369..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/4776765-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/4776765-expected.txt b/LayoutTests/platform/gtk/fast/repaint/4776765-expected.txt
deleted file mode 100644 (file)
index e525f26..0000000
+++ /dev/null
@@ -1,17 +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 699x17
-          text run at (0,0) width 175: "This tests for a repaint bug. "
-          text run at (175,0) width 524: "The old caret position should be invalidated when a paragraph separator is inserted."
-      RenderBlock {DIV} at (0,33) size 784x51
-        RenderBlock {DIV} at (0,0) size 784x17
-          RenderBR {BR} at (0,0) size 0x17
-        RenderBlock {DIV} at (0,17) size 784x17
-          RenderBR {BR} at (0,0) size 0x17
-        RenderBlock {DIV} at (0,34) size 784x17
-          RenderBR {BR} at (0,0) size 0x17
-caret: position 0 of child 0 {BR} of child 4 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/mac/fast/repaint/4776765-expected.png b/LayoutTests/platform/mac/fast/repaint/4776765-expected.png
deleted file mode 100644 (file)
index 160f3ae..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/4776765-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/4776765-expected.txt b/LayoutTests/platform/mac/fast/repaint/4776765-expected.txt
deleted file mode 100644 (file)
index b52f51d..0000000
+++ /dev/null
@@ -1,17 +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 714x18
-          text run at (0,0) width 180: "This tests for a repaint bug. "
-          text run at (179,0) width 535: "The old caret position should be invalidated when a paragraph separator is inserted."
-      RenderBlock {DIV} at (0,34) size 784x54
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-        RenderBlock {DIV} at (0,36) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 4 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/win/fast/repaint/4776765-expected.txt b/LayoutTests/platform/win/fast/repaint/4776765-expected.txt
deleted file mode 100644 (file)
index 4d412d8..0000000
+++ /dev/null
@@ -1,17 +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 699x18
-          text run at (0,0) width 175: "This tests for a repaint bug. "
-          text run at (175,0) width 524: "The old caret position should be invalidated when a paragraph separator is inserted."
-      RenderBlock {DIV} at (0,34) size 784x54
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-        RenderBlock {DIV} at (0,36) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 4 {DIV} of child 3 {DIV} of body