Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / border-radius-mask-canvas.html
blob2d77866d5b546c665c48afafe71b299eb43688a8
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <style>
5 canvas {
6 background-color: gray;
7 border-radius: 200px 0px 200px 0px;
9 </style>
10 </head>
11 <body>
12 <h3>It passes if:</h3>
13 <ul>
14 <li>the canvas content has rounded corners (top-left and bottom-right)</li>
15 <li>gray background is not visible</li>
16 </ul>
17 <canvas id="theCanvas" width="257" height="257"></canvas>
18 <script>
19 if (window.internals) {
20 internals.settings.setAccelerated2dCanvasEnabled(true);
22 var context = theCanvas.getContext('2d');
23 context.fillStyle = 'green';
24 context.fillRect(0, 0, theCanvas.width, theCanvas.width);
25 </script>
26 </body>
27 </html>