| Index: third_party/WebKit/LayoutTests/svg/custom/duplicate-ids-id-mutation.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/custom/duplicate-ids-id-mutation.html b/third_party/WebKit/LayoutTests/svg/custom/duplicate-ids-id-mutation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..08dc920a6b1333c15fdf79020dcd8721321922bc
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/svg/custom/duplicate-ids-id-mutation.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<svg>
|
| + <linearGradient id="f">
|
| + <stop stop-color="red"/>
|
| + </linearGradient>
|
| + <linearGradient id="f">
|
| + <stop stop-color="green"/>
|
| + </linearGradient>
|
| + <rect width="100" height="100" fill="url(#f) orange"/>
|
| +</svg>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + document.querySelector('#f').id = 'g';
|
| +}, true);
|
| +</script>
|
|
|