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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/move-caret-in-container-change-paint-offset-keep-visual-expected.html

Issue 2745793002: Fix caret paint invalidation issues (Closed)
Patch Set: Created 3 years, 9 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/paint/invalidation/move-caret-in-container-change-paint-offset-keep-visual-expected.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/move-caret-in-container-change-paint-offset-keep-visual-expected.html b/third_party/WebKit/LayoutTests/paint/invalidation/move-caret-in-container-change-paint-offset-keep-visual-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..7303e45200bf5ac733151682eed333df95af083e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/move-caret-in-container-change-paint-offset-keep-visual-expected.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<div id="editable" contenteditable="true"
+ style="outline: none; position: absolute; top: 210px; left: 110px; width: 100px">ABCDE</div>
+<script>
+onload = function() {
+ editable.focus();
+ getSelection().collapse(editable.firstChild, 4);
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698