Skip to content

Multiple floated items are clearing when they shouldn't #406

@campaul

Description

@campaul

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglayoutLayouting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions