[Webkit-unassigned] [Bug 236346] Continual resizeobserver-driven flashing on Jupyter notebook page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 08:47:24 PST 2022


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

--- Comment #4 from cathiechen <cathiechen at igalia.com> ---
I'm trying to debug the page, but it seems very hard to simplify the page, so the progress is slow.
It seems there is a loop in calculating the iframe size.
The iframe with `width: 100%; height: 100%` is inside a `<div>` as a render container, iframe's size is determined by this `<div>`. Inside iframe, there is an resizeObserver observing the size of html, and it sends the html size to the main frame by a resize event.
When the main frame gets the resize event, it sets the size to the `<div>`.
The wierd part is, after the `<div>` gets the size that is calculated when iframe is without scrollbar, somehow with this size, iframe shows scrollbar, that causes a different size of iframe `<html>`, because the width is changed if scrollbar is on.
Then it triggers another round, on and on.

-- 
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/20220223/22e35b22/attachment.htm>


More information about the webkit-unassigned mailing list