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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml

Issue 1529523002: Import dom/ from web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak W3CImportExpectations Created 5 years 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
(Empty)
1 <!DOCTYPE html PUBLIC "STAFF" "staffNS.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>DocumentType literals</title>
5 <link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-name"/>
6 <link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-publicid"/>
7 <link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-systemid"/>
8 <script src="../../../../resources/testharness.js"></script>
9 <script src="../../../../resources/testharnessreport.js"></script>
10 </head>
11 <body>
12 <div id="log"/>
13 <script>
14 test(function() {
15 var doctype = document.firstChild;
16 assert_true(doctype instanceof DocumentType)
17 assert_equals(doctype.name, "html")
18 assert_equals(doctype.publicId, 'STAFF')
19 assert_equals(doctype.systemId, 'staffNS.dtd')
20 })
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698