| Index: LayoutTests/svg/custom/use-href-change-local-to-invalid-remote.html
|
| diff --git a/LayoutTests/svg/custom/use-href-change-local-to-invalid-remote.html b/LayoutTests/svg/custom/use-href-change-local-to-invalid-remote.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..838c0b185b281a6d2c8f05c5bd64ee366bac5c6e
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/custom/use-href-change-local-to-invalid-remote.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<svg>
|
| + <rect width="100" height="100" fill="green"/>
|
| + <defs>
|
| + <rect id="a" width="100" height="100" fill="red"/>
|
| + </defs>
|
| + <use xlink:href="#a"/>
|
| +</svg>
|
| +<script>
|
| +onload = function() {
|
| + var use = document.querySelector('use');
|
| + use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', 'invalid-remote.svg');
|
| + document.getElementById('a').setAttribute('width', 200);
|
| + use.setAttribute('width', 100);
|
| +}
|
| +</script>
|
|
|