mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1439090 [wpt PR 9563] - Fix selection{Start,End} test, a=testonly
Automatic update from web-platform-testsFix selection{Start,End} test Likely due to a copy and paste error, one of the tests that was meant to cover both selectionStart and selectionEnd only covered the former. Fix so that it covers both, as it should have from the start. wpt-commits: 08dd5d8de9c165badabf9f18b5be21a561d8213a wpt-pr: 9563 wpt-commits: 08dd5d8de9c165badabf9f18b5be21a561d8213a wpt-pr: 9563
This commit is contained in:
parent
f374bf4f57
commit
3059b9136d
@ -562084,7 +562084,7 @@
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/textfieldselection/selection-start-end.html": [
|
||||
"0fd9c420f831943f0d992076a7828eac066b6596",
|
||||
"6bef6943accb6677e9f466df6cc5ad267b01680f",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/textfieldselection/selection-value-interactions.html": [
|
||||
|
@ -62,7 +62,7 @@
|
||||
for (let prop of ["selectionStart", "selectionEnd"]) {
|
||||
for (let el of createTestElements(testValue)) {
|
||||
test(function() {
|
||||
assert_equals(el.selectionStart, testValue.length);
|
||||
assert_equals(el[prop], testValue.length);
|
||||
}, `Initial .value set on ${el.id} should set ${prop} to end of value`);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user