Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/use-href-null-ns-precedence-dynamic.html

Issue 1692673004: Revert of Add support for 'href' (w/o XLink NS) for various SVG elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/custom/use-href-null-ns-precedence-dynamic.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/use-href-null-ns-precedence-dynamic.html b/third_party/WebKit/LayoutTests/svg/custom/use-href-null-ns-precedence-dynamic.html
deleted file mode 100644
index f5f25be8243ed838ad0ebac71e4041f8d238c10a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/custom/use-href-null-ns-precedence-dynamic.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
-<svg>
- <defs>
- <rect id="red" width="100" height="100" fill="red"/>
- <rect id="green" width="100" height="100" fill="green"/>
- </defs>
- <use xlink:href="#red"/>
- <use x="100" xlink:href="#red"/>
-</svg>
-<script>
-runAfterLayoutAndPaint(function() {
- var useElements = document.querySelectorAll('use');
- useElements[0].setAttribute('href', '#green');
- useElements[1].href.baseVal = '#green';
-}, true);
-</script>

Powered by Google App Engine
This is Rietveld 408576698