Re: New values for Float property

L. David Baron wrote:
> On Tuesday 2009-12-01 11:16 +1100, Alan Gresley wrote:
>> 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'.
> 
> I don't see how this has anything to do with the behavior in your
> testcases at:
> http://css-class.com/test/css/bidi/float-left-right-edge-rtl.htm
> http://css-class.com/test/css/bidi/float-right-left-edge-rtl.htm
> I think the "direction of horizontal overflow" bit is intended to
> say which direction you can scroll in, not how things are laid out.


Please see my last reply to you regarding wide tables or images which 
does relate to layout.


> I also don't think Firefox's behavior on the first of those
> testcases.  I think the float should overflow to the left
> (like in the second), as it does in IE7.  I actually thought Firefox
> behaved that was as well, but it doesn't seem to, and that was the
> change I thought I had proposed.
> 
> -David


Please view either of these test cases in IE7 (you have to narrow the 
viewpoint).

<http://css-class.com/test/css/overflow/float-container-margin-overflow.htm>

<http://css-class.com/test/css/overflow/float-container-width.htm>


These series of test cases resulted in David Hyatt declaring it a bug in 
Safari over a year so as to follow the behavior seen in Firefox and IE8.

<http://lists.w3.org/Archives/Public/www-style/2008Mar/0424.html>

<https://bugs.webkit.org/show_bug.cgi?id=18203>

Because David wanted a test case that didn't require resizing of the 
viewport, I created a different test case using a wide container. 
Testing this issue (or relationship) with float and overflow requires 
either resizing the viewport, creating a very wide element or even using 
percentage as in your 2004 test case. You can not create a test case 
that show all behaviors (really the same behavior) at once.

I believe that this behavior between float and overflow must be known 
about before considering a proposal for a new behavior for float.


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

Received on Tuesday, 1 December 2009 07:45:05 UTC