Files
servo/components/script
Simon Wülker 99ca170ed7 script: Fully initialize ResizeObserverEntry fields (#40036)
A `ResizeObserverEntry` stores of three different lists of size values:
* border box sizes (`border-box`)
* content box sizes (`content-box`)
* content box sizes, in integral device pixels
(`device-pixel-content-box`)

Currently, servo only stores content box sizes and leaves the other two
empty:

205b049fcd/components/script/dom/resizeobserver.rs (L155-L163)

It's worth noting that the `device-pixel-content-box` observation type
is not supported yet, so the only size reported will be a zero-sized
rectangle.


205b049fcd/components/script/dom/resizeobserver.rs (L328-L329)



Testing: New web platform tests start to pass
Fixes https://github.com/servo/servo/issues/38811
Part of #39790

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2025-10-21 00:03:23 +00:00
..
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00