From abcc68dd2571d63614ee78d000bd4d2f8ee2ef9a Mon Sep 17 00:00:00 2001
From: Joey Arhar
The Document
has an auto popover list, which is a list of
- all the elements in the Document
's top layer whose popover
attribute is in the auto state, in the same order.
The Document
has a popover pointerdown target, which is an HTML element or null, initially null.
Return true.
To get the auto popover list for a Document
document:
Let popovers be an empty list.
For each Element
element in document's top
+ layer:
If element's popover visibility state is showing, then append + element to popovers.
Return popovers.
Buttons may have the following content attributes:
@@ -82757,13 +82771,13 @@ dictionary DragEventInit : MouseEventInit {Let target be event's target.
Let document be target's node document.
Let topmostPopover be the result of running topmost auto popover - given target.
If topmostPopover is null, then return.
Let document be target's node document.
If event is a PointerEvent
and event's type
is pointerdown
, then:
set document's popover pointerdown target to the result of running
From c2b78222959a2f386391a1d14fe20b304e5827ef Mon Sep 17 00:00:00 2001
From: Joey Arhar
If element's popover visibility state is showing, then append - element to popovers.
If element's popover
attribute is in the
+ auto state, then append element to popovers.
To get the auto popover list for a Document
document:
Let popovers be an empty list.
Let popovers the list « ».
For each To get the auto popover list for a Let popovers the list « ». Let popovers be « ». For each Let popovers be « ». For each If element's For each Return popovers.Element
element in document's top
From 0974bfcce1900024c0bc1aa2431c60479882f693 Mon Sep 17 00:00:00 2001
From: Joey Arhar Document
document:
-
Element
element in document's top
From 4154b517d517273e89bae5b81b1f67c258123a7f Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
Element
element in document's top
- layer:
-
- popover
attribute is in the
- auto state, then append element to popovers.Element
element in
+ document's top layer: if element's popover
attribute is in the auto state, then append
+ element to popovers.