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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html

Issue 1661523002: Update should paint flag when a float's composited scrolling status changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/run-after-layout-and-paint.js"></script>
3 <script>
4 if (window.internals) {
5 internals.settings.setPreferCompositingToLCDTextEnabled(true);
6 internals.settings.setMockScrollbarsEnabled(true);
7 internals.settings.setOverlayScrollbarsEnabled(true);
8 }
9
10 if (window.testRunner)
11 testRunner.waitUntilDone();
12
13 runAfterLayoutAndPaint(function() {
14 document.getElementById('content').style.height = '250px';
15 runAfterLayoutAndPaint(function() {
16 document.getElementById('content').style.height = '150px';
17 document.body.appendChild(document.createTextNode('Finished.'));
18 }, true);
19 });
20 </script>
21
22 Tests a float changes using composited scrolling. Passes if the green square is always visible.<p>
23 To test manually, use command line switches --enable-prefer-compositing-to-lcd-t ext --enable-overlay-scrollbar
24 <div style="height: 200px">
25 <div style="float: left; width: 300px; height: 100%; overflow: auto; backgroun d-color: green">
26 <div id="content" style="height: 150px"></div>
27 </div>
28 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698