mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision a3dd2ad02c65588ad280ceac378d82e9250d1045
This commit is contained in:
parent
e26530341b
commit
15e68ad3d3
171 changed files with 2819 additions and 1841 deletions
|
@ -14,6 +14,11 @@
|
|||
var el = document.createElement("input");
|
||||
el.type = type;
|
||||
|
||||
if (el.type != type) {
|
||||
// Type is not supported - don't bother with the following checks.
|
||||
return;
|
||||
}
|
||||
|
||||
test(() => {
|
||||
assert_equals(el.selectionStart, null);
|
||||
}, `selectionStart on an input[type=${type}] returns null`);
|
||||
|
@ -70,7 +75,7 @@
|
|||
}, `selectionEnd on an input[type=${type}] returns a value`);
|
||||
|
||||
test(() => {
|
||||
assert_equals(el.selectionDirection, "none");
|
||||
assert_in_array(el.selectionDirection, ["forward", "none"]);
|
||||
}, `selectionDirection on an input[type=${type}] returns a value`);
|
||||
|
||||
test(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue