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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/overflow-show.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
1 <!-- Based on fast/repaint/overflow-show.html --> 1 <!-- Based on fast/repaint/overflow-show.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script> 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 window.expectedPaintInvalidationObjects = [
8 "LayoutBlockFlow (positioned) DIV id='overflowParent' class='absolut e green'",
9 "LayoutBlockFlow (relative positioned) DIV class='relative green'",
10 ];
11 function paintInvalidationTest() 7 function paintInvalidationTest()
12 { 8 {
13 document.getElementById('overflowParent').style.overflow = "visible" ; 9 document.getElementById('overflowParent').style.overflow = "visible" ;
14 } 10 }
15 </script> 11 </script>
16 </head> 12 </head>
17 <body style="height:2000px;" onload="runPaintInvalidationTest()"> 13 <body style="height:2000px;" onload="runPaintInvalidationTest()">
18 <!-- You should see 2 green rectangle sharing one corner in the output. --> 14 <!-- You should see 2 green rectangle sharing one corner in the output. -->
19 <div id="overflowParent" style="overflow: hidden" class="absolute green"><di v style="top:100px; left:100px;" class="relative green"></div></div> 15 <div id="overflowParent" style="overflow: hidden" class="absolute green"><di v style="top:100px; left:100px;" class="relative green"></div></div>
20 </body> 16 </body>
21 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698