mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Rename original window_resizeTo.html
to window_resize_event.html
& Fix wrong usage of innerHeight
& add new test (#37856)
1. rename original `window_resizeTo.html` to `window_resize_event.html` to reflect the purpose. Also change {innerWidth, innerHeight} to {outerWidth, outerHeight} to match spec. 2. Add a new test `window_resizeTo.html` for https://github.com/servo/servo/pull/37848 Testing: new test always fails because of https://github.com/servo/servo/issues/37824, which gives inaccurate outerHeight. Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
19ceccc8eb
commit
a81ddd5c18
4 changed files with 41 additions and 13 deletions
9
tests/wpt/mozilla/meta/MANIFEST.json
vendored
9
tests/wpt/mozilla/meta/MANIFEST.json
vendored
|
@ -14430,7 +14430,14 @@
|
|||
]
|
||||
],
|
||||
"window_resizeTo.html": [
|
||||
"3f6c5a610d52b64bf4457d478b929e95d79e9ab8",
|
||||
"d104be2bc840eecc7c32e27a6fdf1850d945f1e5",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"window_resize_event.html": [
|
||||
"68222f978909022ae1abfbdce6c4ea1c5787c554",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
3
tests/wpt/mozilla/meta/mozilla/window_resizeTo.html.ini
vendored
Normal file
3
tests/wpt/mozilla/meta/mozilla/window_resizeTo.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[window_resizeTo.html]
|
||||
[Correctly resize outerWidth and outerHeight]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue