Skip to content

[css-page-floats] auto width of block-start/end floats #1235

@frivoal

Description

@frivoal

The definition of float: block-start and float:block-end say:

The initial value of the max-width or max-height property that refers to the inline size of the float is '100%'.

Based on implementation experience at Vivliostyle, this is not useful. We believe that instead, the spec should say:

  • If the float reference is not a line box and float is either block-start or block-end or snap-block() (and the float is snapping), auto in the inline-size property means (computes to?) stretch

  • If the float reference is not a line box and float is either inline-start or inline-end or snap-inline() (and the float is snapping), auto in the block-size property means (computes to?) stretch

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions