Re: Question about run-in and floats

On Fri, Jan 15, 2010 at 12:03 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 1/15/10 1:29 AM, Alan Gresley wrote:
>>
>> I don't think section 9.5.2 applies. Firstly run-in does not generate a
>> block formatting contexts and the part that reads "does not consider
>> floats inside the element itself"
>
> Hmm, good point.  It's talking about the element, not the box (Bert's
> insistence on lack of parent/child relationships on boxes again, I see).
>
> In that case, my original question stands: what is the expected behavior
> here, and which spec section needs changing?

At TPAC we decided that a running-in element treats the element it
runs into as a containing block.  I don't think it would be
controversial to extend that ruling to clear, so that it does indeed
count as "inside" the clearing block and thus not affected.

~TJ

Received on Friday, 15 January 2010 07:11:18 UTC