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

Side by Side Diff: LayoutTests/svg/custom/clone-node.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <link rel="help" href="http://dom.spec.whatwg.org/#dom-node-clonenode"> 2 <link rel="help" href="http://dom.spec.whatwg.org/#dom-node-clonenode">
3 <script src="../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../fast/js/resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 5
6 description('Tests cloneNode for SVGDocument.'); 6 description('Tests cloneNode for SVGDocument.');
7 7
8 function className(object) { 8 function className(object) {
9 return Object.prototype.toString.call(object).slice(8, -1); 9 return Object.prototype.toString.call(object).slice(8, -1);
10 } 10 }
11 11
12 var svgDoc = document.implementation.createDocument('http://www.w3.org/2000/svg' , 'svg', null); 12 var svgDoc = document.implementation.createDocument('http://www.w3.org/2000/svg' , 'svg', null);
13 13
14 shouldBe('svgDoc.cloneNode(false).__proto__', 'SVGDocument.prototype'); 14 shouldBe('svgDoc.cloneNode(false).__proto__', 'SVGDocument.prototype');
15 shouldBeEqualToString('className(svgDoc.cloneNode(false))', 'SVGDocument'); 15 shouldBeEqualToString('className(svgDoc.cloneNode(false))', 'SVGDocument');
16 shouldBeEqualToString('svgDoc.cloneNode(true).compatMode', 'CSS1Compat'); 16 shouldBeEqualToString('svgDoc.cloneNode(true).compatMode', 'CSS1Compat');
17 17
18 </script> 18 </script>
19 <script src="../../fast/js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/a-focus-by-tab.html ('k') | LayoutTests/svg/custom/currentColor-on-color.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698