diff --git a/source b/source index e6e005ed846..9e11deef691 100644 --- a/source +++ b/source @@ -72496,24 +72496,15 @@ Demos: not null, or containing no elements, if it is.
-:open
:popover-open
The :open
pseudo-class is defined to match
- any HTML element whose The
:popover-open
pseudo-class is
+ defined to match any HTML element whose popover
attribute is not in the no popover state and whose popover visibility
state is showing.
:closed
The :closed
pseudo-class is defined to
- match any HTML element whose popover
attribute is not in the no popover state and whose popover visibility
- state is hidden.
:enabled
The :enabled
pseudo-class must match any
@@ -123590,10 +123581,11 @@ dialog::backdrop {
background: rgba(0,0,0,0.1);
}
-[popover]:closed:not(dialog[open]) {
+[popover]:not(:popover-open):not(dialog[open]) {
display:none;
}
-dialog[popover]:not(:closed) {
+
+dialog:popover-open {
display:block;
}
@@ -123610,7 +123602,7 @@ dialog[popover]:not(:closed) {
background-color: Canvas;
}
-[popover]:open::backdrop {
+:popover-open::backdrop {
position: fixed;
inset: 0;
pointer-events: none !important;