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

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

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/text-based-repaint.js"></script> 4 <script src="resources/text-based-repaint.js"></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 window.onload = function() { 6 window.onload = function() {
7 runRepaintAndPixelTest(); 7 runRepaintAndPixelTest();
8 }; 8 };
9 9
10 function repaintTest() { 10 function repaintTest() {
11 document.getElementById('clip').style.transform = 'translateY(100px)'; 11 document.getElementById('clip').style.transform = 'translateY(100px)';
12 } 12 }
13 </script> 13 </script>
14 <style> 14 <style>
15 #clip { 15 #clip {
16 width: 100%; 16 width: 100%;
17 height: 300px; 17 height: 300px;
18 position: fixed; 18 position: fixed;
19 background-color: rgba(255, 0, 0, 0.9); 19 background-color: rgba(255, 0, 0, 0.9);
20 -webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 83%); 20 -webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 83%);
21 -webkit-backface-visibility: hidden; 21 -webkit-backface-visibility: hidden;
22 } 22 }
23 </style> 23 </style>
24 </head> 24 </head>
25 <body> 25 <body>
26 <div id="clip"></div> 26 <div id="clip"></div>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698