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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/selection/selection-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 <input id="target" size="5" value="test test test">
4 <script>
5 window.testIsAsync = true;
6 onload = runRepaintTest;
7 if (window.internals)
8 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
9
10 function repaintTest() {
11 target.focus();
12 target.scrollLeft = 200;
13 requestAnimationFrame(function() {
14 target.setSelectionRange(5, 10);
15 finishRepaintTest();
16 });
17 }
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698