servo/components/script/dom/bindings
Simon Wülker 859cc6ab9b
Fire slot change events when the slot content changes (#35137)
* Add the onslotchange attribute to ShadowRoot

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

* Add spec comments to MutationObserver::queue_mutation_observer_microtask

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

* Add DomRefCell::take

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

* Add spec comments to notify_mutation_observers

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

* Fire slotchange events when a slot changes

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

* ./mach fmt

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

* Fix check for when to dispatch slot events

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

* Potentially fire slot change events in Node::remove

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

* Update WPT expectations

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

* ./mach fmt

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

* Bump stylo

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

* Move "signal a slot change" into ScriptThread impl

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

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-01-27 14:13:22 +00:00
..
buffer_source.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
callback.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
cell.rs Fire slot change events when the slot content changes (#35137) 2025-01-27 14:13:22 +00:00
constant.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
constructor.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
conversions.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
error.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
finalize.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
frozenarray.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
function.rs Dom: Re-implement ReadableStream Part 1 : Default Reader and Controller (#34064) 2024-12-17 21:14:00 +00:00
guard.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
import.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
inheritance.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
interface.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
iterable.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
like.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mod.rs script: Move code generation and webidl files to new script_bindings crate. (#35157) 2025-01-24 20:47:43 +00:00
namespace.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
num.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
principals.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
proxyhandler.rs Make generated bindings generic over DOM types (#35169) 2025-01-25 05:08:49 +00:00
record.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
refcounted.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
reflector.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
root.rs Remove unneeded allow annotation. (#35025) 2025-01-19 02:39:16 +00:00
serializable.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
settings_stack.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
str.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
structuredclone.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
trace.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
transferable.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
utils.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
weakref.rs Remove unneeded allow annotation. (#35025) 2025-01-19 02:39:16 +00:00
xmlname.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00