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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/background-misaligned.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 <script src="resources/text-based-repaint.js"></script> 1 <!-- Based on fast/repaint/background-misaligned.html -->
2 <script src="resources/paint-invalidation-test.js"></script>
2 <script> 3 <script>
3 function repaintTest() 4 window.expectedPaintInvalidationObjects = [
5 "LayoutBlockFlow (positioned) DIV id='target'",
6 ];
7 function paintInvalidationTest()
4 { 8 {
5 document.getElementById("target").style.display = "none"; 9 document.getElementById("target").style.display = "none";
6 } 10 }
7 </script> 11 </script>
8 <body onload="runRepaintTest()"> 12 <body onload="runPaintInvalidationTest()">
9 <div style=" 13 <div style="
10 width: 267px; 14 width: 267px;
11 height: 270px; 15 height: 270px;
12 border: solid black; 16 border: solid black;
13 background-image: url(../backgrounds/size/resources/bikes.bmp); 17 background-image: url(../../../fast/backgrounds/size/resources/bikes.bmp );
14 -webkit-background-size: 500% 500%; 18 -webkit-background-size: 500% 500%;
15 position: relative; 19 position: relative;
16 "> 20 ">
17 <div id="target" style=" 21 <div id="target" style="
18 width: 40px; 22 width: 40px;
19 height: 40px; 23 height: 40px;
20 position: absolute; 24 position: absolute;
21 bottom: 0; 25 bottom: 0;
22 right: 0; 26 right: 0;
23 "></div> 27 "></div>
24 </div> 28 </div>
25 </body> 29 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698