Re: New values for Float property

On Mon, Nov 30, 2009 at 6:16 PM, Alan Gresley <alan@css-class.com> wrote:
> Tab Atkins Jr. wrote:
> [...]
>>
>> On Mon, Nov 30, 2009 at 11:35 AM, Alan Gresley <alan@css-class.com> wrote:
>>>
>>> This is not entirely correct. right-to-left layout with floats is
>>> currently
>>> implemented correctly in the latest versions of Firefox and IE8 with rtl
>>> bidirection (dir="rtl"). Fails in both Safari and Opera.
>>
>> Huh.  I don't see that interpretation supported in the specs, though.
>> float:left says that it floats *to the left*, not to whichever side is
>> the opposite of the text progression direction.  Perhaps this is a
>> bug?
>>
>> ~TJ
>
>
> This is not a bug. Please see this spec concerning the direction of
> horizontal overflow with bidirection.
>
> <http://www.w3.org/TR/CSS21/visuren.html#direction>
>
> #This property specifies the base writing direction of
> #blocks and the direction of embeddings and overrides
> #(see 'unicode-bidi') for the Unicode bidirectional
> #algorithm. In addition, it specifies the direction
> #of table column layout, the direction of horizontal
> #overflow, and the position of an incomplete last
> #line in a block in case of 'text-align: justify'.

Yes, dbaron explained what was going on.  The behavior has nothing to
do with Salar's request, though.

~TJ

Received on Tuesday, 1 December 2009 00:26:00 UTC