mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
Like 1132c858e9
, out-of-flow elements such
as float elements would get inserted into block level `::before` and
`::after` pseudo-element nodes when they should instead be inserted as a
sibling to the pseudo element. This change fixes that.
This fixes a few layout issues on the swedish tax agency website
(skatteverket.se). :^)
9 lines
156 B
HTML
9 lines
156 B
HTML
<!DOCTYPE html><style>
|
|
body::before {
|
|
content: "foo";
|
|
display: block;
|
|
}
|
|
div {
|
|
float: left;
|
|
}
|
|
</style><body><div>bar
|