ladybird/Libraries/LibWeb/ResizeObserver
Andreas Kling a146225331 LibWeb: Use unsafe layout/paintable accessors where appropriate
Add unsafe_layout_node(), unsafe_paintable(), and unsafe_paintable_box()
accessors that skip layout-staleness verification. These are for use in
contexts where accessing layout/paintable data is legitimate despite
layout not being up to date: tree construction, style recalculation,
painting, animation interpolation, DOM mutation, and invalidation
propagation.

Also add wrapper APIs on Node to centralize common patterns:
- set_needs_display() wraps if (unsafe_paintable()) ...set_needs_display
- set_needs_paint_only_properties_update() wraps similar
- set_needs_layout_update() wraps if (unsafe_layout_node()) ...

And add Document::layout_is_up_to_date() which checks whether layout
tree update flags are all clear.
2026-02-26 21:09:08 +01:00
..
ResizeObservation.cpp LibWeb: Avoid GC allocation in ResizeObservation::is_active() 2026-02-21 03:51:28 +01:00
ResizeObservation.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ResizeObserver.cpp LibGC+LibWeb: Mark two GC::Cell functions as MUST_UPCALL 2026-02-06 13:50:54 +01:00
ResizeObserver.h LibGC: Only call finalize() on types that override finalize() 2026-01-07 20:51:17 +01:00
ResizeObserver.idl Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResizeObserverEntry.cpp LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
ResizeObserverEntry.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ResizeObserverEntry.idl LibWeb: Convert trivial attributes to FrozenArray 2025-04-25 16:43:43 +02:00
ResizeObserverSize.cpp LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
ResizeObserverSize.h LibWeb: Avoid GC allocation in ResizeObservation::is_active() 2026-02-21 03:51:28 +01:00
ResizeObserverSize.idl Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00