mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Parameterize and rename both `Layout::content_box_query` and `Layout::content_boxes_query` to support the query of rendered padding area and content area that accounts for transform and scroll. Both of these query have been misleading for a time since they are using border box, instead of content box of a Node. This PR adds a new type `layout_api::BoxAreaType` to be passed from `ScriptThread` to `LayoutThread` to query the respective area. It is then used for the query within `IntersectionObserver` to pass several WPTs. Testing: Existing WPT Coverage. --------- Signed-off-by: Jo Steven Novaryo <jo.steven.novaryo@huawei.com>
6 lines
158 B
INI
Vendored
6 lines
158 B
INI
Vendored
[remove-element.html]
|
|
[root.scrollTop = 150 after reinserting target.]
|
|
expected: FAIL
|
|
|
|
[root.insertBefore(target, trailingSpace).]
|
|
expected: FAIL
|