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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/resize-skewed-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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('skewed').style.width = '200px';
6 }
7 onload = runRepaintTest;
8 </script>
9 <style> 2 <style>
10 div { 3 div {
11 position: absolute; 4 position: absolute;
12 transform: skew(-45deg); 5 transform: skew(-45deg);
13 transform-origin: left top; 6 transform-origin: left top;
14 top: 50px; 7 top: 50px;
15 left: 500px; 8 left: 500px;
16 height: 500px; 9 height: 500px;
17 } 10 }
18 #skewed { 11 #skewed {
19 width: 100px; 12 width: 200px;
20 background-color: green; 13 background-color: green;
21 } 14 }
22 #indicator {
23 width: 200px;
24 background-color: red;
25 }
26 </style> 15 </style>
27 Tests paint invalidation when a skewed element is resized. Passes if there is no red. 16 Tests paint invalidation when a skewed element is resized. Passes if there is no red.
28 <div id="indicator"></div>
29 <div id="skewed"></div> 17 <div id="skewed"></div>
30 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698