mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Generate ::backdrop pseudo-elements
This commit is contained in:
parent
2a17d6d449
commit
4b9f5c6fb8
Notes:
github-actions[bot]
2025-04-09 11:11:48 +00:00
Author: https://github.com/Gingeh
Commit: 4b9f5c6fb8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4263
Reviewed-by: https://github.com/AtkinsSJ ✅
11 changed files with 145 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue