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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-in-composited-scrolling-container.html

Issue 2271883002: Fix paint invalidation and painting for composited-scrolling input elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script src="../../editing/editing.js"></script>
4 <input id="root" style="will-change: transform" size="5" value="test test test" >
5 <script>
6 window.testIsAsync = true;
7 onload = runRepaintTest;
8 if (window.internals)
9 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
10
11 function repaintTest() {
12 root.focus();
13 root.scrollLeft = 200;
14 requestAnimationFrame(function() {
15 execMoveSelectionForwardByWordCommand();
16 execMoveSelectionForwardByWordCommand();
17 execMoveSelectionForwardByWordCommand();
18 finishRepaintTest();
19 });
20 }
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698