mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
layout: Allow same ScriptThread
<iframe>
s to be resized synchronously (#34656)
Post layout, when a `Window` has all of the new `<iframe>` sizes, size any `Window`s for `Pipeline`s in the same `ScriptThread` synchronously. This ensures that when laying out from the outermost frame to the innermost frames, the frames sizes are set properly. There is still an issue where a non-same-`ScriptThread` `<iframe>` sits in between two `<iframe>`s of the same origin. According to the specification these frames should all be synchrnously laid out -- something quite difficult in Servo. This is issue #34655. This is the first change in a series of changes to improve the consistency of `<iframe>` loading and sizing. Fixes #14719. Fixes #24569. Fixes #24571. Fixes #25269. Fixes #25275. Fixes #25285. Fixes #30571. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
1e17dfdf31
commit
0a01d06968
11 changed files with 56 additions and 80 deletions
|
@ -4,12 +4,3 @@
|
|||
|
||||
[throws if handleEvent is thruthy and not callable]
|
||||
expected: FAIL
|
||||
|
||||
[looks up handleEvent method on every event dispatch]
|
||||
expected: FAIL
|
||||
|
||||
[doesn't look up handleEvent method on callable event listeners]
|
||||
expected: FAIL
|
||||
|
||||
[rethrows errors when getting handleEvent]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,18 +1,3 @@
|
|||
[MediaQueryList-addListener-removeListener.html]
|
||||
[listeners are called when <iframe> is resized]
|
||||
expected: FAIL
|
||||
|
||||
[listeners are called correct number of times]
|
||||
expected: FAIL
|
||||
|
||||
[listeners are called in order they were added]
|
||||
expected: FAIL
|
||||
|
||||
[listener that was added twice is called only once]
|
||||
expected: FAIL
|
||||
|
||||
[listeners are called in order their MQLs were created]
|
||||
expected: FAIL
|
||||
|
||||
[removing listener from one MQL doesn't remove it from all MQLs]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
[MediaQueryList-extends-EventTarget-interop.html]
|
||||
[listener added with addListener and addEventListener (capture) is called twice]
|
||||
expected: FAIL
|
||||
|
||||
[removeEventListener (capture) doesn't remove listener added with addListener]
|
||||
expected: FAIL
|
||||
|
||||
[removeListener doesn't remove listener added with addEventListener (capture)]
|
||||
expected: FAIL
|
||||
|
||||
[capturing event listener fires before non-capturing listener at target]
|
||||
expected: FAIL
|
|
@ -1,9 +0,0 @@
|
|||
[MediaQueryList-extends-EventTarget.html]
|
||||
[onchange removes listener]
|
||||
expected: FAIL
|
||||
|
||||
[listeners for "change" type are called]
|
||||
expected: FAIL
|
||||
|
||||
[addEventListener "once" option is respected]
|
||||
expected: FAIL
|
|
@ -1,6 +0,0 @@
|
|||
[MediaQueryListEvent.html]
|
||||
[argument of onchange]
|
||||
expected: FAIL
|
||||
|
||||
[constructor of "change" event]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue