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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/subtree-root-clip-2.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-2.html -->
1 <html> 2 <html>
2 <head> 3 <head>
3 <script src="resources/text-based-repaint.js"></script> 4 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 5 <script>
5 function repaintTest() 6 window.expectedPaintInvalidationObjects = [
7 "LayoutBlockFlow (floating) DIV",
8 "LayoutBlockFlow DIV id='target'",
9 ];
10 function paintInvalidationTest()
6 { 11 {
7 document.getElementById("target").style.width = "100px"; 12 document.getElementById("target").style.width = "100px";
8 } 13 }
9 </script> 14 </script>
10 </head> 15 </head>
11 <body onload="runRepaintTest()"> 16 <body onload="runPaintInvalidationTest()">
12 <div> 17 <div>
13 <span style="-position: relative; top: 25px; left: 25px;"> 18 <span style="-position: relative; top: 25px; left: 25px;">
14 <div style="float: left; height: 100px; width: 100px; overflow: hidden; background-color: red;"> 19 <div style="float: left; height: 100px; width: 100px; overflow: hidden; background-color: red;">
15 <div id="target" style="height: 100px; width: 0; background-color: g reen;"> 20 <div id="target" style="height: 100px; width: 0; background-color: g reen;">
16 </div> 21 </div>
17 </div> 22 </div>
18 </span> 23 </span>
19 </div> 24 </div>
20 </body> 25 </body>
21 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698