W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

[csswg-drafts] [css-page-floats] auto width of block-start/end floats

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 18 Apr 2017 06:38:11 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-222316855-1492497490-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-page-floats] auto width of block-start/end floats ==
The [definition](https://drafts.csswg.org/css-page-floats/#valdef-float-block-start) 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`


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1235 using your GitHub account
Received on Tuesday, 18 April 2017 06:38:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC