Files
ladybird/Tests/LibWeb/Layout/input/block-and-inline/inline-block-contained-by-inline.html
Lorenz A ffcd3a4bb2 LibWeb: Count the width of inline-blocks in InlineNodes only once
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.
2025-10-27 21:45:33 -07:00

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>