| Index: LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe.html
|
| diff --git a/LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe.html b/LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2560d5f332ce453ec6b52236dc238fb0f6b20c83
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe.html
|
| @@ -0,0 +1,29 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +iframe {
|
| + border: none;
|
| +}
|
| +body, iframe {
|
| + margin: 0;
|
| + padding: 0;
|
| +}
|
| +</style>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| +
|
| +function finishTest() {
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| +}
|
| +</script>
|
| +<iframe></iframe>
|
| +<script>
|
| +var iframe = document.querySelector('iframe');
|
| +iframe.contentWindow.finishTest = finishTest;
|
| +iframe.contentDocument.body.innerHTML =
|
| +'<style>body { margin: 0; padding: 0; }</style>'+
|
| +'<svg width="100" height="100">'+
|
| +'<image width="100" height="100" xlink:href="//localhost:8000/resources/square100.png" onload="finishTest()"></image>'+
|
| +'</svg>';
|
| +</script>
|
|
|