Update web-platform-tests to revision b'a877a8f14afc4b3a1d438cd5a9bfd7cd029111b7'

This commit is contained in:
WPT Sync Bot 2023-04-12 01:20:55 +00:00
parent 15de7b99b7
commit b8f194326b
189 changed files with 3001 additions and 832 deletions

View file

@ -50,9 +50,7 @@ for (const inputType of ["text", "password", "search", "number"]) {
const numCharsToOverflow = document.documentElement.clientHeight / parseInt(getComputedStyle(testInput).fontSize);
const value = "1".repeat(numCharsToOverflow);
await test_driver.click(testInput);
assert_true(testInput.matches(":focus"), "input is focused");
testInput.focus({ preventScroll: true });
await test_driver.send_keys(testInput, value);