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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/clip-path-constant-repaint.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/clip-path-constant-repaint.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js"></script>
6 <script type="text/javascript">
7 window.onload = function() {
8 runPaintInvalidationTest();
9 };
10
11 function paintInvalidationTest() {
12 document.getElementById('clip').style.transform = 'translateY(100px)';
13 }
14 </script>
15 <style>
16 #clip {
17 width: 100%;
18 height: 300px;
19 position: fixed;
20 background-color: rgba(255, 0, 0, 0.9);
21 -webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 83%);
22 -webkit-backface-visibility: hidden;
23 }
24 </style>
25 </head>
26 <body>
27 <div id="clip"></div>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698