TitleMultiple floated items are clearing when they shouldn't
Authorcampaul
CreatedMon, 02 Jun 2025 17:38:09 +0000
State open

Given the following example:

<html>
    <head>
        <style type="text/css">
            div {
                width: 100px;
                height: 100px;
                margin: 10px;
                border: 5px solid black;
                float: left;
            }
        </style>
    </head>
    <body>
        <div>A</div>
        <div>B</div>
    </body>
</html>

Expected Result (taken from Firefox)

Image

Actual Result

Image