servo/tests/wpt/meta/css/css-position/sticky
Jo Steven Novaryo 900dd8d191
layout: Consider transform for bounding box queries (#37871)
The recent changes that cached the Scroll Tree present an opportunity to
calculate the queries that consider transform and scroll (dubbed as post
composite queries) accurately.

This PR propose a solution for this calculation by noting the lowest
scroll tree nodes that would affect a fragment. To do this, each
fragment would store a new attribute `spatial_tree_node` -- scroll tree
node id that we could use for the query. This referencing is considered
because the scroll tree node construction is managed by the fragment
itself. Therefore it would ease the managing the possibly stale
reference and future query cache invalidation considering the
development of incremental layout.

The bounding box query then could transform the bounding content rect of
a fragment using the computed current transformation matrix.

Fixes: https://github.com/servo/servo/issues/35768
Testing: Existing and new WPT

---------

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
Signed-off-by: Jo Steven Novaryo <jo.steven.novaryo@huawei.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-07-30 08:13:54 +00:00
..
position-sticky-bottom.html.ini
position-sticky-change-top.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-child-multicolumn.html.ini
position-sticky-fixed-ancestor-iframe.html.ini
position-sticky-fixed-ancestor.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-flexbox.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-fractional-offset.html.ini Add initial support for sticky positioning for non-legacy layout (#30686) 2023-11-29 09:03:24 +00:00
position-sticky-get-bounding-client-rect.html.ini
position-sticky-grid.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-hyperlink.html.ini Anonymous boxes that wrap inlines should not inherit overflow (#30579) 2023-10-19 13:43:55 +00:00
position-sticky-inflow-position.html.ini
position-sticky-inline.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-input-box-gets-focused-after-scroll.html.ini
position-sticky-large-top-2.tentative.html.ini
position-sticky-large-top.tentative.html.ini
position-sticky-left.html.ini
position-sticky-margins.html.ini
position-sticky-nested-bottom.html.ini
position-sticky-nested-inline.html.ini
position-sticky-nested-left.html.ini
position-sticky-nested-right.html.ini
position-sticky-nested-table.html.ini Enable CSS Tables by default (#31470) 2024-03-07 10:09:10 +00:00
position-sticky-nested-thead-th.html.ini Enable CSS Tables by default (#31470) 2024-03-07 10:09:10 +00:00
position-sticky-nested-top.html.ini
position-sticky-offset-overflow.html.ini
position-sticky-offset-top-left.html.ini
position-sticky-overflow-padding.html.ini
position-sticky-padding-001.html.ini Sync WPT with upstream (17-03-2024) (#31715) 2024-03-17 10:51:07 +00:00
position-sticky-padding-002.html.ini Sync WPT with upstream (17-03-2024) (#31715) 2024-03-17 10:51:07 +00:00
position-sticky-rendering.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-right.html.ini
position-sticky-root-scroller.html.ini
position-sticky-scrollIntoView.html.ini
position-sticky-table-td-bottom.html.ini
position-sticky-table-td-left.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-table-td-right.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-table-td-top.html.ini
position-sticky-table-tfoot-bottom.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-table-th-bottom.html.ini
position-sticky-table-th-right.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-table-th-top.html.ini
position-sticky-table-thead-top.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-table-tr-bottom.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-table-tr-top.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00
position-sticky-top-and-bottom-003.html.ini
position-sticky-top-and-bottom.html.ini
position-sticky-top.html.ini
position-sticky-transforms-translate.html.ini layout: Consider transform for bounding box queries (#37871) 2025-07-30 08:13:54 +00:00
position-sticky-transforms.html.ini
position-sticky-writing-modes.html.ini script: Implement the FontFaceSet DOM API (#32576) 2024-06-26 09:44:47 +00:00