[Webkit-unassigned] [Bug 250072] Resize event on iframe fired before rAF on parent document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 22 14:56:28 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=250072

Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Rune Lillesveen from comment #3)
> > https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model says that the resize (step 7) happens before the animation frame callbacks (step 13).
> 
> Yes, but the resize of the iframe is a result of the layout of the top
> document that happens after the first rAF callback. The resize event should
> then trigger before the next rAF, IIUC?

I don't see how the spec reads that way. Fundamentally, spec basically assumes that the resize happens immediately once the width is set, not when rAF happens.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230322/93496756/attachment.htm>


More information about the webkit-unassigned mailing list