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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/clip-path-constant-repaint.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
1 <!-- Based on fast/repaint/clip-path-constant-repaint.html --> 1 <!-- Based on fast/repaint/clip-path-constant-repaint.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="resources/paint-invalidation-test.js"></script> 5 <script src="resources/paint-invalidation-test.js"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 window.onload = function() { 7 window.onload = function() {
8 runPaintInvalidationTest(); 8 runPaintInvalidationTest();
9 }; 9 };
10 10
11 window.expectedPaintInvalidationObjects = [
12 ];
13 function paintInvalidationTest() { 11 function paintInvalidationTest() {
14 document.getElementById('clip').style.transform = 'translateY(100px)'; 12 document.getElementById('clip').style.transform = 'translateY(100px)';
15 } 13 }
16 </script> 14 </script>
17 <style> 15 <style>
18 #clip { 16 #clip {
19 width: 100%; 17 width: 100%;
20 height: 300px; 18 height: 300px;
21 position: fixed; 19 position: fixed;
22 background-color: rgba(255, 0, 0, 0.9); 20 background-color: rgba(255, 0, 0, 0.9);
23 -webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 83%); 21 -webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 83%);
24 -webkit-backface-visibility: hidden; 22 -webkit-backface-visibility: hidden;
25 } 23 }
26 </style> 24 </style>
27 </head> 25 </head>
28 <body> 26 <body>
29 <div id="clip"></div> 27 <div id="clip"></div>
30 </body> 28 </body>
31 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698