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

Unified Diff: LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html

Issue 105693009: Move insertAdjacentHTML to Element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Correct base. Should not include patches it depends on. Created 7 years 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: LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html
diff --git a/LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html b/LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html
new file mode 100644
index 0000000000000000000000000000000000000000..1b6380a850cedac8bb8a37797ddf06ae37b87d6c
--- /dev/null
+++ b/LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<html>
+<body>
+ <svg style="width:200px; height: 200px">
+ <g id="container" style="fill: green"></g>
+ </svg>
+</body>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ document.getElementById("container").insertAdjacentHTML("beforeBegin", "<text y=10>1 (black)</text>");
+ document.getElementById("container").insertAdjacentHTML("afterBegin", "<text y=30>2 (green)</text>");
+ document.getElementById("container").insertAdjacentHTML("beforeEnd", "<text y=50>3 (green)</text>");
+ document.getElementById("container").insertAdjacentHTML("afterEnd", "<text y=70>4 (black)</text>");
+</script>
+</html>
« no previous file with comments | « LayoutTests/fast/dynamic/insertAdjacentHTML-expected.txt ('k') | LayoutTests/fast/dynamic/insertAdjacentHTML-svg-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698