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

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

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 <title>DocumentType literals</title>
3 <link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-name">
4 <link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-publicid">
5 <link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
6 <script src="../../../../resources/testharness.js"></script>
7 <script src="../../../../resources/testharnessreport.js"></script>
8 <div id="log"></div>
9 <script>
10 test(function() {
11 var doctype = document.firstChild;
12 assert_true(doctype instanceof DocumentType)
13 assert_equals(doctype.name, "html")
14 assert_equals(doctype.publicId, 'STAFF')
15 assert_equals(doctype.systemId, 'staffNS.dtd')
16 })
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698