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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/relative-position-under-composited-scroll.html

Issue 1945983002: Set layers needsRepaint along the original compositingContainer chain if stacking status changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
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/paint/invalidation/relative-position-under-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 paint invalidation when an object under composited scrolled container is
3 set 'display: relative'. Passes if no red residue.
4 <div style="overflow: scroll; width: 200px; height: 200px">
5 <div style="width: 800px; height: 800px">
6 <div id="item" style="background-color: red; width: 50px; height: 50px"></di v>
7 </div>
8 </div>
9 <script src="../../resources/run-after-layout-and-paint.js"></script>
10 <script>
11 if (window.internal)
12 internals.settings.setPreferCompositingToLCDTextEnabled(true);
13 runAfterLayoutAndPaint(function() {
14 item.style.position = 'relative';
15 item.style.left = '100px';
16 item.style.top = '100px';
17 item.style.backgroundColor = 'green';
18 }, true);
19 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/relative-position-under-composited-scroll-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698