mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibWeb: Implement gathering and broadcasting of resize observations
Extends event loop processing steps to include gathering and broadcasting resize observations. Moves layout updates from Navigable::paint() to event loop processing steps. This ensures resize observation processing occurs between layout updates and painting.
This commit is contained in:
parent
8ba18dfd40
commit
fcf293a8df
8 changed files with 287 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
contentSize: 100px x 200px; borderBoxSize [inline=140px, block=240px]; contentBoxSize [inline=100px, block=200px]; deviceBoxSize [inline=140px, block=240px]
|
||||
contentSize: 100px x 200px; borderBoxSize [inline=140px, block=280px]; contentBoxSize [inline=100px, block=200px]; deviceBoxSize [inline=140px, block=280px]
|
2
Tests/LibWeb/Text/expected/ResizeObserver/observe.txt
Normal file
2
Tests/LibWeb/Text/expected/ResizeObserver/observe.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Size changed: 200px x 200px
|
||||
Size changed: 400px x 400px
|
Loading…
Add table
Add a link
Reference in a new issue