1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 22:05:07 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Andreas Kling
80a78c4deb LibWeb: Don't generate ::before/::after for BR elements
We shouldn't be putting generated pseudo elements inside elements that
can't have children in the first place.

This patch fixes two issues:
- We stop generating pseudo elements for layout nodes that can't have
  children anyway.
- We mark Layout::BreakNode as not being able to have children.
2023-09-14 21:46:28 +02:00