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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/containment/contain-paint-composited-scroll.html

Issue 1985933002: Don't clip composited scrolling contain:paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/css/containment/contain-paint-composited-scroll-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 Tests composited scrolling of contain:paint. Passes if contents are completely p ainted when scrolled.
3 <style>
4 ::-webkit-scrollbar { width: 0 }
5 </style>
6 <div id="target" style="overflow-y: auto; width: 150px; height: 150px; contain: paint; will-change: transform">
7 1<br>
8 2<br>
9 3<br>
10 4<br>
11 5<br>
12 6<br>
13 7<br>
14 8<br>
15 9<br>
16 10<br>
17 11<br>
18 12<br>
19 13<br>
20 14<br>
21 15<br>
22 16<br>
23 17<br>
24 18<br>
25 19<br>
26 20<br>
27 </div>
28 <script src="../../../resources/run-after-layout-and-paint.js"></script>
29 <script>
30 runAfterLayoutAndPaint(function() {
31 target.scrollTop = 100;
32 }, true);
33 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/contain-paint-composited-scroll-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698