Diff
Modified: trunk/LayoutTests/ChangeLog (189175 => 189176)
--- trunk/LayoutTests/ChangeLog 2015-08-31 18:08:30 UTC (rev 189175)
+++ trunk/LayoutTests/ChangeLog 2015-08-31 18:15:09 UTC (rev 189176)
@@ -1,3 +1,19 @@
+2015-08-31 Zalan Bujtas <[email protected]>
+
+ 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 <[email protected]>
Unreviewed, mark a few tests as failing on Windows.
Added: trunk/LayoutTests/fast/repaint/4776765-expected.txt (0 => 189176)
--- trunk/LayoutTests/fast/repaint/4776765-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/repaint/4776765-expected.txt 2015-08-31 18:15:09 UTC (rev 189176)
@@ -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)
+)
+
Modified: trunk/LayoutTests/fast/repaint/4776765.html (189175 => 189176)
--- trunk/LayoutTests/fast/repaint/4776765.html 2015-08-31 18:08:30 UTC (rev 189175)
+++ trunk/LayoutTests/fast/repaint/4776765.html 2015-08-31 18:15:09 UTC (rev 189176)
@@ -1,11 +1,11 @@
-<script src="" 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="" 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 @@
<script>
var div = document.getElementById("div");
var sel = window.getSelection();
-
sel.setPosition(div, 0);
</script>
</body>
Deleted: trunk/LayoutTests/platform/efl/fast/repaint/4776765-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/efl/fast/repaint/4776765-expected.txt (189175 => 189176)
--- trunk/LayoutTests/platform/efl/fast/repaint/4776765-expected.txt 2015-08-31 18:08:30 UTC (rev 189175)
+++ trunk/LayoutTests/platform/efl/fast/repaint/4776765-expected.txt 2015-08-31 18:15:09 UTC (rev 189176)
@@ -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
Deleted: trunk/LayoutTests/platform/gtk/fast/repaint/4776765-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/gtk/fast/repaint/4776765-expected.txt (189175 => 189176)
--- trunk/LayoutTests/platform/gtk/fast/repaint/4776765-expected.txt 2015-08-31 18:08:30 UTC (rev 189175)
+++ trunk/LayoutTests/platform/gtk/fast/repaint/4776765-expected.txt 2015-08-31 18:15:09 UTC (rev 189176)
@@ -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
Deleted: trunk/LayoutTests/platform/mac/fast/repaint/4776765-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/fast/repaint/4776765-expected.txt (189175 => 189176)
--- trunk/LayoutTests/platform/mac/fast/repaint/4776765-expected.txt 2015-08-31 18:08:30 UTC (rev 189175)
+++ trunk/LayoutTests/platform/mac/fast/repaint/4776765-expected.txt 2015-08-31 18:15:09 UTC (rev 189176)
@@ -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
Deleted: trunk/LayoutTests/platform/win/fast/repaint/4776765-expected.txt (189175 => 189176)
--- trunk/LayoutTests/platform/win/fast/repaint/4776765-expected.txt 2015-08-31 18:08:30 UTC (rev 189175)
+++ trunk/LayoutTests/platform/win/fast/repaint/4776765-expected.txt 2015-08-31 18:15:09 UTC (rev 189176)
@@ -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