Skip to content

[css-rhythm-1] block-step-size/block-step-align splitting odd adjustment amount #8488

@sammygill

Description

@sammygill

The spec defines block-step-align: center as follows:

Any extra space resulting from a block-step-size-induced adjustment is split, and applied half on either side of the box.

If the amount of extra space being added is odd, is there a priority of how to split the difference?

<div style="width: 50px; height: 50px; background-color:green; block-step-size: 99px;">
</div>

I'm assuming here that one side will get 24px added while the other side will get 25px added, is that correct?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions