diff --git a/source b/source index 9f6bfcc10b4..d75f1720c93 100644 --- a/source +++ b/source @@ -68241,6 +68241,7 @@ not-slash = %x0000-002E / %x0030-10FFFF
shadowrootmodeshadowrootdelegatesfocusshadowrootslotassignmentshadowrootclonableshadowrootserializableshadowrootcustomelementregistryThe shadowrootslotassignment content
+ attribute is an enumerated attribute with the following keywords and states:
| Keyword + | State + | Brief description + |
|---|---|---|
named
+ | Named + | The declarative shadow root uses named slot assignment. + |
manual
+ | Manual + | The declarative shadow root uses manual slot assignment. + |
The shadowrootslotassignment
+ attribute's invalid value default and missing value default are both the Named state.
The shadowrootclonable content attribute is a
boolean attribute.
The shadowRootSlotAssignment IDL attribute
+ must reflect the shadowrootslotassignment content attribute,
+ limited to only known values.
The shadowRootCustomElementRegistry IDL attribute intentionally does not have a boolean type so it can be extended.
@@ -141126,6 +141162,13 @@ document.body.appendChild(text);Let mode be templateStartTag's shadowrootmode attribute's value.
Let slotAssignment be "named".
If templateStartTag's shadowrootslotassignment attribute is
+ in the Manual state, then
+ set slotAssignment to "manual".
Let clonable be true if templateStartTag has a shadowrootclonable attribute; otherwise
false.
Attach a shadow root with
declarativeShadowHostElement, mode, clonable,
- serializable, delegatesFocus, "named", and
+ serializable, delegatesFocus, slotAssignment, and
registry.
If an exception is thrown, then catch it and:
@@ -144946,6 +144989,10 @@ document.body.appendChild(text);If shadow's serializable is set, then append
" shadowrootserializable=""".
If shadow's slot assignment is "manual", then append " shadowrootslotassignment="manual"".
If shadow's clonable is set, then append
" shadowrootclonable=""".
shadowrootmode;
shadowrootdelegatesfocus;
+ shadowrootslotassignment;
shadowrootclonable;
shadowrootserializable;
shadowrootcustomelementregistrytemplate
shadowrootslotassignment
+ template
+ named";
+ "manual"
shape
area