mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
An BlockContainer inside an InlineNode is called from the `for each in inclusive_subtree_of_type` but is also a fragment of that InlineNode. Don't count the the Node twice.
21 lines
318 B
HTML
21 lines
318 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
body>span {
|
|
background-color: red;
|
|
}
|
|
|
|
div {
|
|
display: inline-block
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<span style="background-color: red;">
|
|
<div>AAAAAAAAAAAAA</div>
|
|
</span>
|
|
<span style="background-color: green;">
|
|
<div>BBBBB</div>
|
|
</span>
|
|
|
|
</body>
|