Re: [CSS21] negative containing block width and percentages

On 11/03/2010 12:10 AM, Peter Moulder wrote:
> Section 10.1 says
>
>    # Note: This may cause the containing block's width to be negative.
>
> My guess is that this is in reference to the case where the nearest
> absolute/relative/fixed ancestor is an inline box that's broken due to
> either line-breaking or bidi, and looking for ancestors based on unbroken
> boxes (i.e. like elements) but considering "first" / "last" box based on
> broken box pieces.
> ...
> Given these interesting existing results, I'd be somewhat inclined to
> change things such that the containing block width can never be negative.

I personally think that makes the most sense, and I hope we define things
that way in CSS3. For CSS2.1, we've resolved to make the containing block
formed by a split inline undefined, so this case doesn't crop up.

~fantasai

Received on Monday, 7 March 2011 19:23:05 UTC