mirror of
https://github.com/servo/servo
synced 2026-05-13 10:27:03 +02:00
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>