Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/selection-after-remove.html

Issue 1988313004: Test pixel results for repaint tests testing selection, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/repaint/selection-after-remove.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/selection-after-remove.html b/third_party/WebKit/LayoutTests/fast/repaint/selection-after-remove.html
index f53d5b3cd817d10d846c8ddf6eed924958b7dc7c..7235b7f024af8fa7fe357eed0ab3fc7d3bdfdec3 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/selection-after-remove.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/selection-after-remove.html
@@ -5,7 +5,7 @@ function repaintTest() {
e.parentNode.removeChild(e);
}
</script>
-<body onload="runRepaintTest();" contenteditable="true">
+<body onload="runRepaintAndPixelTest();" contenteditable="true">
<p>This tests to see if selection gaps are invalidated properly when content inside the selection is removed. Only 'hello world' should have a selecton tint behind it.</p>
<div id="test" style="width: 150px; border: 1px solid red; margin: 30px;">hello <span id="removeme"> world hello world hello world hello world hello world hello world hello world hello world hello</span> world<br></div>
<script>
@@ -13,4 +13,4 @@ var s = window.getSelection();
var e = document.getElementById("test");
s.setBaseAndExtent(e, 0, e, e.childNodes.length);
</script>
-</body>
+</body>

Powered by Google App Engine
This is Rietveld 408576698