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

Side by Side Diff: LayoutTests/fast/dom/document-contentType-createDocument.html

Issue 151653004: Implemented Document.contentType (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase and fixing tests on windows Created 6 years, 8 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
(Empty)
1 <!DOCTYPE html>
2 <title>document.contentType</title>
3 <link rel="help" href="http://dom.spec.whatwg.org/#dom-document-contenttype">
4 <script src="../../resources/js-test.js"></script>
5 <body>
6 <script>
7 var doc = document.implementation.createHTMLDocument('f');
8 shouldBe('doc.contentType', '"text/html"');
9
10 doc = document.implementation.createDocument(null, 'root', null);
11 shouldBe('doc.contentType', '"application/xml"');
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698