diff --git a/source b/source index c56d43c7b1e..e9030e7394e 100644 --- a/source +++ b/source @@ -1828,6 +1828,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
If removedNode's popover
attribute is not in
the no popover state, then run the hide
popover algorithm given removedNode, false, false, and false.
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 "none
".
Run check and possibly close popover stack given the element's node + document.
If namespace is not null, then return.
If localName is disabled
, form
, or popovertarget
,
+ then run check and possibly close popover stack given element's
+ node document.
If localName is not popover
, then
return.
Return true.
To check and possibly close popover stack for a Document
+ document:
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 given document.
Return.
Set index to index - 1.
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: