diff --git a/dom.bs b/dom.bs index 80e4de6e..1befcd6c 100644 --- a/dom.bs +++ b/dom.bs @@ -5956,6 +5956,23 @@ is an object or one of its shadow-including ancestors.
The retargeting algorithm is used by event dispatch as well as other specifications, such as Fullscreen. [[FULLSCREEN]] +
To get the flat tree parent of a node:
+ +Let parent be node's parent.
If parent is a shadow root, then return parent's host.
If parent is not a shadow host, then return + node.
If node's assigned slot is null, then return null.
Return node's assigned slot's parent.