diff --git a/dom.bs b/dom.bs index 491e2691..9d7b0741 100644 --- a/dom.bs +++ b/dom.bs @@ -6514,6 +6514,7 @@ interface Element : Node { [CEReactions] attribute DOMString className; [SameObject, PutForwards=value] readonly attribute DOMTokenList classList; [CEReactions, Unscopable] attribute DOMString slot; + [SameObject, PutForwards=value] readonly attribute DOMTokenList part; boolean hasAttributes(); [SameObject] readonly attribute NamedNodeMap attributes; @@ -7152,6 +7153,10 @@ claims as to whether using them is conforming or not.
element . slot [ = value ]
Returns the value of element's slot content attribute. Can be set to
change it.
+
+
element . part
+ Allows for manipulation of element's part content attribute as a
+ set of whitespace-separated tokens through a {{DOMTokenList}} object.
IDL attributes that are defined to reflect a string @@ -7182,9 +7187,14 @@ particular {{DOMTokenList}} object are also known as the element's
The slot attribute must reflect
"slot".
-
id, class, and slot are effectively
-superglobal attributes as they can appear on any element, regardless of that element's
-namespace.
The part getter steps are to return a
+{{DOMTokenList}} object whose associated element is this and whose associated
+attribute's local name is part. The token set of this
+particular {{DOMTokenList}} object are also known as the element's parts.
+
+
id, class, slot, part, and
+exportparts are effectively superglobal attributes as they can appear on any element,
+regardless of that element's namespace.