Re: Question about run-in and floats

Boris Zbarsky wrote:
> On 1/14/10 4:49 PM, Boris Zbarsky wrote:
>> How do we want to reconcile these two things? It seems to me that the
>> definition of 'clear' needs to be modified, or the behavior of run-ins
>> needs to be changed to not run in if that would cause floats to float
>> out of them.
> 
> Or is this covered by the
> 
>   The 'clear' property does not consider floats inside the
>   element itself or in other block formatting contexts.
> 
> part in section 9.5.2?
> 
> -Boris


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" to my understanding is something like 
this.


<div style="clear:left">
   <div style="float:left"> .. </div>
</div>



-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo

Received on Friday, 15 January 2010 06:30:34 UTC