| Index: LayoutTests/fast/borders/border-radius-mask-canvas-border.html
|
| diff --git a/LayoutTests/fast/borders/border-radius-mask-canvas-border.html b/LayoutTests/fast/borders/border-radius-mask-canvas-border.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b971a505765231a2ecb1c1334bdf95396ae3eff
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/borders/border-radius-mask-canvas-border.html
|
| @@ -0,0 +1,29 @@
|
| +<!DOCTYPE HTML>
|
| +<html>
|
| + <head>
|
| + <style>
|
| + canvas {
|
| + background-color: gray;
|
| + border: 10px solid red;
|
| + border-radius: 200px 100px 0px 0px;
|
| + }
|
| + </style>
|
| + </head>
|
| + <body>
|
| + <h3>It passes if:</h3>
|
| + <ul>
|
| + <li>the canvas content has rounded corners (top-left and top-right)</li>
|
| + <li>the 10px red border is visible around the canvas content</li>
|
| + <li>gray border is not visible</li>
|
| + </ul>
|
| + <canvas id="theCanvas" width="257" height="257"></canvas>
|
| + <script>
|
| + if (window.internals) {
|
| + internals.settings.setAccelerated2dCanvasEnabled(true);
|
| + }
|
| + var context = theCanvas.getContext('2d');
|
| + context.fillStyle = 'green';
|
| + context.fillRect(0, 0, theCanvas.width, theCanvas.width);
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|