| Index: LayoutTests/svg/custom/pattern-empty-bbox-2.html
|
| diff --git a/LayoutTests/svg/custom/pattern-empty-bbox-2.html b/LayoutTests/svg/custom/pattern-empty-bbox-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..611914fe41195c276120e1be6cf480c07523e106
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/custom/pattern-empty-bbox-2.html
|
| @@ -0,0 +1,24 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| +<svg width="100" height="100">
|
| + <pattern id="p" patternUnits="objectBoundingBox" width="100" height="100">
|
| + <rect width="100" height="100" fill="green"/>
|
| + </pattern>
|
| + <line y1="50" x2="100" y2="50" stroke-width="100" stroke="url(#p) red"/>
|
| +</svg>
|
| +<script>
|
| +function changeToUSOU() {
|
| + document.querySelector('pattern').setAttribute('patternUnits', 'userSpaceOnUse');
|
| +}
|
| +
|
| +if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| +
|
| +window.onload = function() {
|
| + runAfterDisplay(function() {
|
| + changeToUSOU();
|
| + if (testRunner)
|
| + runAfterDisplay(function() { testRunner.notifyDone(); });
|
| + });
|
| +};
|
| +</script>
|
|
|