OLD | NEW |
---|---|
(Empty) | |
1 <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.
| |
2 <head> | |
3 <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.
| |
4 </head> | |
5 <body id="bodyElement"> | |
6 <svg xmlns="http://www.w3.org/2000/svg" id="svgElement" xlink="http://www.w3 .org/1999/xlink"> | |
7 <g id="gElement"></g> | |
8 </svg> | |
9 </body> | |
10 <script> | |
11 if (window.testRunner) { | |
12 testRunner.dumpAsText(); | |
13 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.
| |
14 } | |
15 | |
16 var g = document.getElementById("gElement"); | |
17 var svgElement = document.getElementById("svgElement"); | |
18 title1 = document.createElementNS("http://www.w3.org/1999/xhtml", "title"); | |
19 title1.textContent = "title1"; | |
20 g.appendChild(title1); | |
21 shouldBeEqualToString('document.title',''); | |
22 title2 = document.createElementNS("http://www.w3.org/1999/xhtml", "title"); | |
23 title2.textContext = "title2"; | |
24 svgElement.appendChild(title2); | |
25 shouldBeEqualToString('document.title',''); | |
26 | |
27 if (window.testRunner) | |
28 testRunner.notifyDone(); | |
29 </script> | |
30 </html> | |
OLD | NEW |