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

Side by Side Diff: LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html

Issue 147993006: Move insertAdjacentElement/insertAdjacentText to Element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: olc chunk mismatch Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <body>
4 <svg style="width:200px; height: 200px">
5 <g id="container" style="fill: green"></g>
6 </svg>
7 </body>
8 <script>
9 if (window.testRunner)
10 testRunner.dumpAsText();
11
12 document.getElementById("container").insertAdjacentHTML("beforeBegin", "<text y=10>1 (black)</text>");
13 document.getElementById("container").insertAdjacentHTML("afterBegin", "<text y =30>2 (green)</text>");
14 document.getElementById("container").insertAdjacentHTML("beforeEnd", "<text y= 50>3 (green)</text>");
15 document.getElementById("container").insertAdjacentHTML("afterEnd", "<text y=7 0>4 (black)</text>");
16 </script>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698