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