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

Side by Side Diff: LayoutTests/paint/invalidation/non-stacking-scroller-with-abspos-descendant.html

Issue 1202523006: SP: Invalidate all non-compositing descendants in the slow scroll path. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype HTML>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <div id="target" style="overflow:scroll; width: 300px; height: 300px;">
4 <div style="height: 1000px; width: 100px;"></div>
5 <div style="position: absolute; top: 200px; width: 100px; height: 100px; bac kground: red"></div>
6 </div>
7 <script>
8 // Test that a non-stacking-context scroller does not scroll an absolutely posit ioned child.
9 function test() {
10 runAfterLayoutAndPaint(function() {
11 target.scrollTop += 100;
12 });
Xianzhu 2015/06/23 04:56:39 We need a 'true' as the second parameter here, oth
chrishtr 2015/06/23 16:51:37 Done.
13 }
14 window.onload = test;
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698