mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision e3cf1284464a4a3e46fd15e4138f8e32c6cecdd8
This commit is contained in:
parent
b20333a324
commit
c5c325d8bb
57 changed files with 1422 additions and 493 deletions
|
@ -74,7 +74,9 @@ var viewport = document.scrollingElement;
|
|||
[
|
||||
[{left: 800}, 1000, 0],
|
||||
[{top: 900}, 0, 1000],
|
||||
[{left: 900, top: 800}, 1000, 1000]
|
||||
[{left: 900, top: 800}, 1000, 1000],
|
||||
[{left: 800, top: -100}, 1000, 0], /* outside bounds on y axis */
|
||||
[{left: 10000, top: -100}, 1000, 0] /* outside bounds on both axes */
|
||||
].forEach(([input, expectedX, expectedY]) => {
|
||||
test(() => {
|
||||
divScroller.scrollTo(0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue