From 44ca8747e5ed14e201e0c5964d7751b7ce0d8a30 Mon Sep 17 00:00:00 2001
From: Joey Arhar If removedNode's If removedNode is a button, then run
+ check and possibly close popover stack given removedNode's node
+ document. A HTMLInputElement : HTMLElement {
element's text entry cursor position to the
beginning of the text control, and set its selection
direction to " Run check and possibly close popover stack given the element's node
+ document. If namespace is not null, then return. If localName is If localName is not Return true. To check and possibly close popover stack for a Let stack be document's auto popover list. Let index stack's size - 1. While index is greater than 0: If the result of running topmost popover ancestor given
+ stack[index] is not stack[index - 1], then: Run hide all popovers until given
+ document, false, and false. Return. Set index to index - 1. Buttons may have the following content attributes: If namespace is not null, then return. If localName is If localName is If localName is not If namespace is not null, then return. If localName is popover
attribute is not in
the no popover state, then run the hide
popover algorithm given removedNode, false, false, and false.none
".
+ disabled
or form
, then run check and possibly close popover stack
+ given element's node document.popover
, then
return.Document
+ document:
+
+
+
+
+
+ The popover target attributes
disabled
or form
, then run check and possibly close popover stack
- given element's node document.disabled
, form
, or popovertarget
,
+ then run check and possibly close popover stack given element's
+ node document.popover
, then
return.disabled
, form
, or popovertarget
,
+ data-x="attr-fae-form">form, or popovertarget
,
then run check and possibly close popover stack given element's
node document.
Run hide all popovers until given - document, false, and false.
Run hide all popovers given document.
Return.
Check and possibly close popover stack is used to close multiple popovers which + are only open due to their ancestral relationship to each other in the case where that ancestral + relationship has been broken. Show popover also closes popovers which don't meet + this ancestral relationship by calling hide all popovers + until.
+Buttons may have the following content attributes: