[css-sizing] definite sizes and shrink-wrapping

Hi there,

this is sort of an extension of Rego's recent email
(https://lists.w3.org/Archives/Public/www-style/2016May/0026.html) and
based on IRC conversation with dbaron.

This is the relevant part of css-sizing:
https://drafts.csswg.org/css-sizing/#definite

It says "A size that can be determined without measuring content"

Clearly shrinkwrapped elements' size does require measuring content,
by definition.

But per David, and per interoperable implementations, widths are
always definite, even when shrinkwrapping. Now, the spec as written
allows for shrinkwrapping of abspos (though I believe earlier advice
on this list was that this should be limited to abspos that specifies
size in some way). But it does not address floats, which also
shrinkwrap, or flex items, or I'm sure other cases.

Can we clarify this part of the spec?

(CSS2.1 explicitly leaves this case undefined)

Thanks!
-Christian

Received on Thursday, 5 May 2016 20:10:16 UTC