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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/subtree-root-clip.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
1 <!-- Based on fast/repaint/subtree-root-clip.html -->
1 <!DOCTYPE HTML> 2 <!DOCTYPE HTML>
2 <html> 3 <html>
3 <head> 4 <head>
4 <script src="resources/text-based-repaint.js"></script> 5 <script src="resources/paint-invalidation-test.js"></script>
5 <script> 6 <script>
6 function repaintTest() 7 window.expectedPaintInvalidationObjects = [
8 "LayoutBlockFlow (floating) DIV",
9 "LayoutBlockFlow DIV id='inner'",
10 ];
11 function paintInvalidationTest()
7 { 12 {
8 document.getElementById("inner").style.width = "0"; 13 document.getElementById("inner").style.width = "0";
9 } 14 }
10 </script> 15 </script>
11 </head> 16 </head>
12 <body onload="runRepaintTest()"> 17 <body onload="runPaintInvalidationTest()">
13 <div style="float: left; overflow: hidden; width: 100px; height: 100px; backgrou nd-color: green;"> 18 <div style="float: left; overflow: hidden; width: 100px; height: 100px; backgrou nd-color: green;">
14 <div id="inner" style="width: 100px; height: 100px; background-color: red;"> </div> 19 <div id="inner" style="width: 100px; height: 100px; background-color: red;"> </div>
15 </div> 20 </div>
16 </body> 21 </body>
17 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698