From 2ff2437c47e0c014e861e1d209c78642da560ffa Mon Sep 17 00:00:00 2001
From: Joey Arhar
: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;