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: Morten Stenshorne <mstensho@opera.com>
Date: Mon, 13 Sep 2010 10:37:31 +0200
To: www-style@gtalbot.org
Cc: "www-style\@w3.org" <www-style@w3.org>
Message-ID: <87y6b6ox84.fsf@dido.oslo.opera.com>
"GĂ©rard Talbot" <www-style@gtalbot.org> writes:

> I need a second opinion and I am open to criticisms.
>
> Regarding this testcase:
>
> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-002-draft.htm
>
> 1- Is this testcase correct? Am I missing something (except maybe the
> somewhat tortuous wording of the expected results)? Is there something
> wrong in such testcase?

Yes, this looks correct. If you want to prevent font differences from
playing a role here, you could use inline-blocks (or images, etc.)
with fixed size along with zero-width spaces, though.

> 4- If you use Opera 10.62 under Windows XP to view such testcase and then
> Opera 10.62 under Linux, do you see a difference in terms of vertical
> positioning of the big triple-A-letters box? Yes? No?

No, I don't see anything wrong in Opera 10.62 for Linux.

> Regarding this testcase:
>
> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/section9.5.1-vertical-positioning-float.html
>
> 1- The bright green square is right after the 3rd word (in the source
> code) in those 2 examples while the width of the paragraph is large, wide
> enough to still render the first 5 words of the paragraphs for the first
> line box. I did that on purpose so that the text versus bright green box
> would not be in a too tight horizontal space.
>
> Opera 10.62 under Windows XP displays the bright green square's margin box
> starting on the 2nd line box, not on the first line box, in the second
> example. The 2 examples in that testcase should be rendered identically,
> pixel per pixel, according to section 9.5.1.
> Am I missing something here? Can you explain this?

They look identical here, in Opera 10.62 Linux. With my font I have
room for 5 words on the first line. I get the same result in 10.62 for
Windows. BTW: did you mean to write "Opera 10.62 under Linux" above?
As far as I could understand, it was Linux that you had a problem
with, not Windows.

> I can provide screenshots if requested..

That could be useful.

-- 
---- Morten Stenshorne, developer, Opera Software ASA ----
------------------ http://www.opera.com/ -----------------
Received on Monday, 13 September 2010 08:38:13 GMT

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