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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/transform-replaced-shadows-expected.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 <html> 1 <html>
2 <head> 2 <head>
3 <title>Scaling and box-shadow</title> 3 <title>Scaling and box-shadow</title>
4 <style type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 #box { 5 #box {
6 height: 100px; 6 height: 100px;
7 width: 100px; 7 width: 100px;
8 margin: 20px; 8 margin: 20px;
9 background-color: gray; 9 background-color: gray;
10 -webkit-transform-origin: top left; 10 -webkit-transform-origin: top left;
11 -webkit-box-shadow: 0px 20px 20px black; 11 -webkit-box-shadow: 0px 20px 20px black;
12 transform: scale(2); 12 transform: scale(2);
13 } 13 }
14 14
15 #box.smaller { 15 #box.smaller {
16 transform: scale(1); 16 transform: scale(1);
17 } 17 }
18 </style> 18 </style>
19 </head>
20 <body>
19 21
20 <script src="resources/text-based-repaint.js" type="text/javascript" charset=" utf-8"></script> 22 <img id="box" class="smaller">
21 <script type="text/javascript" charset="utf-8">
22 function repaintTest()
23 {
24 document.getElementById('box').className = 'smaller';
25 }
26 </script>
27 </head>
28 <body onload="runRepaintTest()">
29
30 <img id="box">
31 23
32 </body> 24 </body>
33 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698