mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +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
|
@ -566,6 +566,8 @@ CSS::RequiredInvalidationAfterStyleChange Element::recompute_style()
|
|||
|
||||
recompute_pseudo_element_style(CSS::PseudoElement::Before);
|
||||
recompute_pseudo_element_style(CSS::PseudoElement::After);
|
||||
if (m_rendered_in_top_layer)
|
||||
recompute_pseudo_element_style(CSS::PseudoElement::Backdrop);
|
||||
if (had_list_marker || m_computed_properties->display().is_list_item())
|
||||
recompute_pseudo_element_style(CSS::PseudoElement::Marker);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue