servo/components
Simon Wülker f1e89c58a6
Don't register unconnected shadow roots with their owner document (#34361)
* Don't falsely register Shadow Roots as connected

Previously, a shadowroot would be registered as connected
during the shadow hosts bind_to_tree call, even if the host
was being bound to an element that was not itself
connected to a document.

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Move bind/unbind methods into a VirtualMethod impl

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Add DocumentFragment/Shadowroot to vtable_for

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-12-02 18:33:25 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
canvas Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
compositing Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
config Layout: Implement CSS Grid using taffy (#32619) 2024-11-21 20:21:01 +00:00
config_plugins add allow(non_camel_case_types) to generated pref structs (#33987) 2024-10-24 09:36:13 +00:00
constellation Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools DevTools: Fix console in Firefox 131 (#33661) 2024-10-09 12:09:06 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Replace ShouldNotImplDomObject with NoDomObjectInDomObject (#33627) 2024-10-03 12:58:34 +00:00
fonts ohos: fonts: Fix HalfwidthandFullwidthForms font fallback (#34410) 2024-11-28 11:03:05 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
layout_2020 Refactor AbsoluteAxisSolver (#34443) 2024-12-02 12:49:00 +00:00
layout_thread Make Servo compatible with Stylo with prefers-color-scheme support (#34423) 2024-11-29 13:48:28 +00:00
layout_thread_2020 Make Servo compatible with Stylo with prefers-color-scheme support (#34423) 2024-11-29 13:48:28 +00:00
malloc_size_of Implement MallocSizeOf for markup5ever rather than xml5ever. (#34403) 2024-11-27 01:21:41 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile [NFC] Remove unused interval profiler events (#34285) 2024-11-19 07:18:52 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Don't register unconnected shadow roots with their owner document (#34361) 2024-12-02 18:33:25 +00:00
servo Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
shared Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
webgpu Only send mapping back on unmap when MapMode = WRITE (#34054) 2024-10-29 18:42:07 +00:00