servo/components/script/dom/bindings
Simon Wülker 6a2e37183c
Lay out the contents of slot elements (#35220)
* Make Slottable match layout/alignment of NonNull<Node>

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

* Implement ServoLayoutElement::slotted_nodes

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

* Bump mozjs

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

* Layout the contents of slot elements

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

* Implement ServoLayoutElement::assigned_slot

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

* implement ServoLayoutElement::traversal_parent

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

* Simplify slottable name update

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

* Don't iterate over children of shadow hosts

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

* Recompute slot style when contents change

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

* Change match_slottable to a function instead of a macro

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

* Fix crown errors

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

* Update WPT expectations

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

* Reset a slottable's assigned slot when it's removed from the slot

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

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-02-02 20:49:42 +00:00
..
buffer_source.rs Script: implement ReadableStreamBYOBReader::Read (#35040) 2025-01-27 15:52:54 +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 bindings: Move string-related bindings code to script_bindings. (#35172) 2025-01-29 07:40:25 +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 bindings: Move string-related bindings code to script_bindings. (#35172) 2025-01-29 07:40:25 +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 Lay out the contents of slot elements (#35220) 2025-02-02 20:49:42 +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 bindings: Move string-related bindings code to script_bindings. (#35172) 2025-01-29 07:40:25 +00:00
structuredclone.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
trace.rs bindings: Move string-related bindings code to script_bindings. (#35172) 2025-01-29 07:40:25 +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