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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/resize-skewed.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/resize-skewed.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 document.getElementById('skewed').style.width = '200px';
7 }
8 onload = runPaintInvalidationTest;
9 </script>
10 <style>
11 div {
12 position: absolute;
13 transform: skew(-45deg);
14 transform-origin: left top;
15 top: 50px;
16 left: 500px;
17 height: 500px;
18 }
19 #skewed {
20 width: 100px;
21 background-color: green;
22 }
23 #indicator {
24 margin-left: 1px;
25 width: 198px; /* Narrower than the target to avoid anti-alias effect. */
26 background-color: red;
27 }
28 </style>
29 Tests paint invalidation when a skewed element is resized. Passes if there is no red.
30 <div id="indicator"></div>
31 <div id="skewed"></div>
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698