Index: third_party/WebKit/LayoutTests/svg/custom/attribute-default-value-after-removal.html |
diff --git a/third_party/WebKit/LayoutTests/svg/custom/attribute-default-value-after-removal.html b/third_party/WebKit/LayoutTests/svg/custom/attribute-default-value-after-removal.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d803a08682d58522d417ec36c5ab844dd3436857 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/custom/attribute-default-value-after-removal.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<div style="width: 100px"> |
+ <svg viewBox="0 0 100 100"> |
+ <rect width="100" height="100" fill="green"/> |
+ </svg> |
+</div> |
+<script> |
+document.querySelector('svg').setAttribute('width', 200); |
+document.querySelector('svg').removeAttribute('width'); |
+</script> |