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

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

Issue 16688004: Large canvas does not honor containing div's border radius (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced explicit baselines with NeedsRebaseline Created 7 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 video {
6 background-color: gray;
7 width: 500px;
8 height: 225px;
9 border-radius: 200px 0px 100px 0px;
10 box-shadow: 0 0 8px 8px red;
11 margin: 10px;
12 -webkit-transform: translateZ(0);
13 }
14 </style>
15 <script>
16 if (window.internals) {
17 internals.settings.setAcceleratedCompositingForVideoEnabled(true);
18 }
19 if (window.testRunner) {
20 testRunner.waitUntilDone();
21 }
22 function canPlay() {
23 setTimeout(function() {
24 if (window.testRunner)
25 testRunner.notifyDone();
26 }, 0);
27 }
28 </script>
29 </head>
30 <body>
31 <h3>It passes if:</h3>
32 <ul>
33 <li>the video content has rounded corners (top left and bottom right)</l i>
34 <li>the remaining space is gray and has same rounded corners as video co ntent</li>
35 <li>has box shadow around the video element</li>
36 </ul>
37 <video src='../../media/resources/frame_size_change.webm' oncanplaythrough ='canPlay();'></video>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698