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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual.html b/third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual.html
new file mode 100644
index 0000000000000000000000000000000000000000..1ab64af8a22baa799d966b67f36da1eba1461467
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<div id="container" style="position: relative; overflow: hidden; width: 200px; height: 100px">
+<div style="width: 400px; height: 2px"></div>
+&nbsp;&nbsp;<input style="outline: none; position: relative; top: 0; left: 0" id="input">
+</div>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+onload = function() {
+ input.focus();
+ runAfterLayoutAndPaint(function() {
+ container.scrollLeft = 56;
+ input.style.left = '56px';
+ }, true);
+};
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/caret-change-paint-offset-keep-visual-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698