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

Side by Side Diff: LayoutTests/fast/borders/border-radius-mask-video.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 video { 5 video {
6 background-color: gray; 6 background-color: gray;
7 width: 400px; 7 width: 400px;
8 height: 225px; 8 height: 225px;
9 border-radius: 200px 0px 100px 0px; 9 border-radius: 200px 0px 100px 0px;
10 -webkit-transform: translateZ(0); 10 transform: translateZ(0);
11 } 11 }
12 </style> 12 </style>
13 <script> 13 <script>
14 if (window.testRunner) { 14 if (window.testRunner) {
15 testRunner.waitUntilDone(); 15 testRunner.waitUntilDone();
16 } 16 }
17 function canPlay() { 17 function canPlay() {
18 setTimeout(function() { 18 setTimeout(function() {
19 if (window.testRunner) 19 if (window.testRunner)
20 testRunner.notifyDone(); 20 testRunner.notifyDone();
21 }, 0); 21 }, 0);
22 } 22 }
23 </script> 23 </script>
24 </head> 24 </head>
25 <body> 25 <body>
26 <h3>It passes if:</h3> 26 <h3>It passes if:</h3>
27 <ul> 27 <ul>
28 <li>the video content has rounded corners (top left and bottom right)</l i> 28 <li>the video content has rounded corners (top left and bottom right)</l i>
29 <li>gray background is not visible</li> 29 <li>gray background is not visible</li>
30 </ul> 30 </ul>
31 <video src='../../media/resources/frame_size_change.webm' oncanplaythrough ='canPlay();'></video> 31 <video src='../../media/resources/frame_size_change.webm' oncanplaythrough ='canPlay();'></video>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698