mirror of
https://github.com/servo/servo
synced 2026-04-30 03:17:15 +02:00
Update web-platform-tests to revision 0159b3ec9ba5355a3340621226e02ae026effd7f
This commit is contained in:
@@ -32,11 +32,17 @@ test(function() {
|
||||
assert_equals(doc.documentURI, "about:blank");
|
||||
assert_equals(doc.compatMode, "CSS1Compat");
|
||||
assert_equals(doc.characterSet, "UTF-8");
|
||||
assert_equals(doc.inputEncoding, "UTF-8");
|
||||
assert_equals(doc.contentType, "application/xml");
|
||||
assert_equals(doc.createElement("DIV").localName, "DIV");
|
||||
}, "new Document(): metadata")
|
||||
|
||||
test(function() {
|
||||
var doc = new Document();
|
||||
assert_equals(doc.characterSet, "UTF-8", "characterSet");
|
||||
assert_equals(doc.charset, "UTF-8", "charset");
|
||||
assert_equals(doc.inputEncoding, "UTF-8", "inputEncoding");
|
||||
}, "new Document(): characterSet aliases")
|
||||
|
||||
test(function() {
|
||||
var doc = new Document();
|
||||
var a = doc.createElement("a");
|
||||
|
||||
Reference in New Issue
Block a user