Index: third_party/WebKit/LayoutTests/svg/dom/file-extension-svg-and-inner-svg-document.svg |
diff --git a/third_party/WebKit/LayoutTests/svg/dom/file-extension-svg-and-inner-svg-document.svg b/third_party/WebKit/LayoutTests/svg/dom/file-extension-svg-and-inner-svg-document.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e12eda75ebf6c7f68b6faf06812b6dfba3e87a2c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/dom/file-extension-svg-and-inner-svg-document.svg |
@@ -0,0 +1,30 @@ |
+<html xmlns="http://www.w3.org/1999/xhtml" xlink="http://www.w3.org/1999/xlink"> |
fs
2016/03/08 17:05:26
xlink="..." is not useful for anything (to declare
hyunjunekim2
2016/03/09 15:54:46
Done. Remove this test.
|
+ <head> |
+ <script src="../../resources/js-test.js"></script> |
fs
2016/03/08 17:05:26
Use testharness.js instead (there no need to invol
hyunjunekim2
2016/03/09 15:54:46
Done.
|
+ </head> |
+ <body id="bodyElement"> |
+ <svg xmlns="http://www.w3.org/2000/svg" id="svgElement" xlink="http://www.w3.org/1999/xlink"> |
+ <g id="gElement"></g> |
+ </svg> |
+ </body> |
+ <script> |
+ if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
fs
2016/03/08 17:05:26
You don't need waitUntilDone in this case, because
hyunjunekim2
2016/03/09 15:54:46
Done. Remove this test.
|
+ } |
+ |
+ var g = document.getElementById("gElement"); |
+ var svgElement = document.getElementById("svgElement"); |
+ title1 = document.createElementNS("http://www.w3.org/1999/xhtml", "title"); |
+ title1.textContent = "title1"; |
+ g.appendChild(title1); |
+ shouldBeEqualToString('document.title',''); |
+ title2 = document.createElementNS("http://www.w3.org/1999/xhtml", "title"); |
+ title2.textContext = "title2"; |
+ svgElement.appendChild(title2); |
+ shouldBeEqualToString('document.title',''); |
+ |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ </script> |
+</html> |