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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createElement.html

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Document.createElement</title> 3 <title>Document.createElement</title>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelement"> 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelement">
5 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-localname"> 5 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-localname">
6 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-tagname"> 6 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-tagname">
7 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-prefix"> 7 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-prefix">
8 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-namespaceuri"> 8 <link rel=help href="https://dom.spec.whatwg.org/#dom-element-namespaceuri">
9 <script src="../../../../resources/testharness.js"></script> 9 <script src="../../../../resources/testharness.js"></script>
10 <script src="../../../../resources/testharnessreport.js"></script> 10 <script src="../../../../resources/testharnessreport.js"></script>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 assert_equals(elt.namespaceURI, HTMLNS) 76 assert_equals(elt.namespaceURI, HTMLNS)
77 }, "createElement(" + format_value(t[0]) + ")"); 77 }, "createElement(" + format_value(t[0]) + ")");
78 }); 78 });
79 invalid.forEach(function(arg) { 79 invalid.forEach(function(arg) {
80 test(function() { 80 test(function() {
81 assert_throws("INVALID_CHARACTER_ERR", function() { document.createElement (arg) }) 81 assert_throws("INVALID_CHARACTER_ERR", function() { document.createElement (arg) })
82 }, "createElement(" + format_value(arg) + ")"); 82 }, "createElement(" + format_value(arg) + ")");
83 }); 83 });
84 }) 84 })
85 </script> 85 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698