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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Node-nodeName-xhtml.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head> 3 <head>
4 <title>Node.nodeName</title> 4 <title>Node.nodeName</title>
5 <script src="../../../../resources/testharness.js"></script> 5 <script src="../../../../resources/testharness.js"></script>
6 <script src="../../../../resources/testharnessreport.js"></script> 6 <script src="../../../../resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id="log"/> 9 <div id="log"/>
10 <script> 10 <script>
(...skipping 22 matching lines...) Expand all
33 test(function() { 33 test(function() {
34 assert_equals(document.doctype.nodeName, "html") 34 assert_equals(document.doctype.nodeName, "html")
35 }, "For DocumentType nodes, nodeName should return the name.") 35 }, "For DocumentType nodes, nodeName should return the name.")
36 test(function() { 36 test(function() {
37 assert_equals(document.createDocumentFragment().nodeName, 37 assert_equals(document.createDocumentFragment().nodeName,
38 "#document-fragment") 38 "#document-fragment")
39 }, "For DocumentFragment nodes, nodeName should return \"#document-fragment\".") 39 }, "For DocumentFragment nodes, nodeName should return \"#document-fragment\".")
40 </script> 40 </script>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698