mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
|
@ -36,6 +36,7 @@ test(function() {
|
|||
assert_equals(doc.contentType, "application/xml");
|
||||
assert_equals(doc.origin, document.origin);
|
||||
assert_equals(doc.createElement("DIV").localName, "DIV");
|
||||
assert_equals(doc.createElement("a").constructor, Element);
|
||||
}, "new Document(): metadata")
|
||||
|
||||
test(function() {
|
||||
|
@ -47,7 +48,8 @@ test(function() {
|
|||
|
||||
test(function() {
|
||||
var doc = new Document();
|
||||
var a = doc.createElement("a");
|
||||
var a = doc.createElementNS("http://www.w3.org/1999/xhtml", "a");
|
||||
assert_equals(a.constructor, HTMLAnchorElement);
|
||||
// In UTF-8: 0xC3 0xA4
|
||||
a.href = "http://example.org/?\u00E4";
|
||||
assert_equals(a.href, "http://example.org/?%C3%A4");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue