mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -20,8 +20,16 @@ testText("<div>", "abc\tdef", "abc\tdef", "Tabs preserved");
|
|||
testText("<div>", " abc", " abc", "Leading whitespace preserved");
|
||||
testText("<div>", "abc ", "abc ", "Trailing whitespace preserved");
|
||||
testText("<div>", "abc def", "abc def", "Whitespace not compressed");
|
||||
testHTML("<div>abc\n\n", "abc", "abc", "Existing text deleted");
|
||||
testHTML("<div><br>", "abc", "abc", "Existing <br> deleted");
|
||||
testText("<div>abc\n\n", "abc", "abc", "Existing text deleted");
|
||||
testText("<div><br>", "abc", "abc", "Existing <br> deleted");
|
||||
testHTML("<div>", "", "", "Assigning the empty string");
|
||||
testHTML("<div>", null, "", "Assigning null");
|
||||
testHTML("<div>", undefined, "undefined", "Assigning undefined");
|
||||
|
||||
// Setting innerText on these should not throw
|
||||
["area", "base", "basefont", "bgsound", "br", "col", "embed", "frame", "hr",
|
||||
"image", "img", "input", "keygen", "link", "menuitem", "meta", "param",
|
||||
"source", "track", "wbr", "colgroup", "frameset", "head", "html", "table",
|
||||
"tbody", "tfoot", "thead", "tr"].forEach(function(tag) {
|
||||
testText(document.createElement(tag), "abc", "abc", "innerText on <" + tag + "> element");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue