Use "slot" attribute for slottable name (#35191)

* Implement Element::slot attribute

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

* Simplify slottable name update

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

* Update WPT expectations

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

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-01-29 13:50:03 +01:00 committed by GitHub
parent c633ca1cde
commit f6d1b30e97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 18 additions and 98 deletions

View file

@ -30,6 +30,7 @@ interface Element : Node {
attribute DOMString className;
[SameObject, PutForwards=value]
readonly attribute DOMTokenList classList;
[CEReactions, Unscopable] attribute DOMString slot;
[Pure]
boolean hasAttributes();