W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [CSS 2.1] [Section 9.5.1] Vertical positioning of floating boxes

From: Gérard Talbot <www-style@gtalbot.org>
Date: Mon, 13 Sep 2010 14:29:04 -0700
Message-ID: <d03a2ca9600be990f8fc1901e99001b0.squirrel@cp3.shieldhost.com>
To: "www-style@w3.org" <www-style@w3.org>
Cc: "Anton Prowse" <prowse@moonhenge.net>

Le Lun 13 septembre 2010 13:35, Anton Prowse a écrit :
> On 13/09/2010 05:20, "Gérard Talbot" wrote:
>> Regarding this testcase:
>>
>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-002-draft.htm
>
>> 2- Shouldn't that margin box of that big triple-A-letters
>> left-floating-box be placed at top-left corner of its enclosing<div>
>> *in
>> the first line box*?
>
> Not necessarily; it depends on position of the float placeholder in the
> line box in which it sits.  (This position of course depends on the
> width of the containing block.)
>
> I'm not sure, but I think your post is questioning how it's decided next
> to which line box a float sits.

Hello Anton,

No, my post did not want to question how it's decided next to which line
box a float sits. This whole thing started in

http://lists.w3.org/Archives/Public/public-css-testsuite/2010Sep/0059.html

My goal was really to triple-check that c414-flt-ln-002-draft.htm
testcase, then ask if people saw differences between Opera 10.62 under
Windows XP and Opera 10.62 under Linux in 2 testcases.

If there is sufficient horizontal room granted by containing block on a
line box for a float, then it should choose it and it should do so
according to "8. A floating box must be placed as high as possible." 
which other browsers do in those aforementioned testcases but not Opera
10.62 under Windows XP.

After seeing the way Opera 10.62 under Windows XP was handling
c414-flt-ln-002-draft.htm testcase, I decided to dig deeper and created a
smaller and more reliable, 100% trustworthy testcase (
section9.5.1-vertical-positioning-float.html [1]) where the displayed
layout would not and could not be questioned.

[1]
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/section9.5.1-vertical-positioning-float.html

best regards, Gérard
-- 
CSS 2.1 Test suite beta 3 (August 15th 2010)
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Monday, 13 September 2010 21:29:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT