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

Side by Side Diff: LayoutTests/fast/css/zoom-on-unattached.html

Issue 22875013: Make several DOMImplementation API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createDocument() args Created 7 years, 4 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
1 <script> 1 <script>
2 if (window.testRunner) 2 if (window.testRunner)
3 testRunner.dumpAsText(); 3 testRunner.dumpAsText();
4 4
5 root = document.createElement("body"); 5 root = document.createElement("body");
6 d = document.implementation.createDocument(); 6 d = document.implementation.createDocument(null, "");
7 d.adoptNode(root); 7 d.adoptNode(root);
8 node = document.createElement("title"); 8 node = document.createElement("title");
9 root.appendChild(node); 9 root.appendChild(node);
10 node.setAttribute("style", "zoom:document;") 10 node.setAttribute("style", "zoom:document;")
11 node.appendChild(node.cloneNode()); 11 node.appendChild(node.cloneNode());
12 </script> 12 </script>
13 <body> 13 <body>
14 This test passes if it does not crash. 14 This test passes if it does not crash.
15 </body> 15 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698