File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,6 +363,21 @@ This ensures that things like [=popovers=]
363363can be displayed reliably,
364364regardless of what their ancestor elements might be doing.
365365
366+ The <dfn export>top layer root</dfn> of an element
367+ is its nearest ancestor element
368+ that is in the [=Document/top layer=] ,
369+ or none otherwise
370+ (in which case it's painted as part of the document as normal).
371+
372+ Two elements are <dfn export>in the same top layer</dfn>
373+ if they have the same [=top layer root=]
374+ (including if both are none).
375+ An element A is <dfn export>in a higher top layer</dfn>
376+ than an element B
377+ if A has a [=top layer root=] ,
378+ and either B has a [=top layer root=] earlier in the [=Document/top layer=] than A's,
379+ or B doesn't have a [=top layer root=] at all.
380+
366381Note: The [=Document/top layer=] is managed entirely by the [=user agent=] ;
367382it cannot be directly manipulated by authors.
368383This ensures that "nested" invocations of top-layer-using APIs,
You can’t perform that action at this time.
0 commit comments