LibWeb: Generate ::backdrop pseudo-elements

This commit is contained in:
Gingeh 2025-04-07 18:39:32 +10:00 committed by Sam Atkins
commit 4b9f5c6fb8
Notes: github-actions[bot] 2025-04-09 11:11:48 +00:00
11 changed files with 145 additions and 2 deletions

View file

@ -285,6 +285,14 @@ dialog:popover-open {
background-color: transparent;
}
/* 4.2. The ::backdrop Pseudo-Element
* https://drafts.csswg.org/css-position-4/#backdrop
*/
::backdrop {
position: fixed;
inset: 0;
}
slot {
display: contents;
}