This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > October 2004 > Opera 7.54 vs. Firefox 1.0 Preview: Who is right with float:left?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Opera 7.54 vs. Firefox 1.0 Preview: Who is right with float:left?
|
|
|
|
| Harlan Messinger 2004-10-20, 7:15 pm |
|
"Boris" <boris@gtemail.net> wrote in message
news:2tntnpF22gtr4U1@uni-berlin.de...
> Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and
> Firefox 1.0 Preview. Who is right?
>
> In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating
> box must be placed as high as possible" (see
> http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do you
> agree?
"As high as possible" is vague--obviously: otherwise, all floats would start
back up at the top of the page! Box 3 in this case can't start higher than
the "clear" established by Box 2. Once an element has established a "clear",
it seems to me that all following elements are subject to it. You shouldn't
have to keep clearing over and over again--and if you did, the browser would
have no way to know which previous floating elements the current element was
clearing and which ones it wasn't. So, I'd say Opera's wrong.
> BTW, Internet Explorer 6 behaves like Opera 7.54.
| |
| Lauri Raittila 2004-10-20, 7:15 pm |
| Boris wrote;
> Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and
> Firefox 1.0 Preview. Who is right?
Firefox. I have meaned to make clear test case for this to post opera.*
for while, but haven't got time. Can you keep it where it forever? If so,
do. X-posting (put not setting fups, do that) to opera.tech to ask if it
is known bug? (happens in 7.6p1 too)
Box3 should be right of box 2, not box1
> In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating
> box must be placed as high as possible" (see
> http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do you
> agree?
It goes against #5. The outer top of a floating box may not be higher
than the outer top of any block or floated box generated by an element
earlier in the source document. Rule 5 is more important than rule #7
> BTW, Internet Explorer 6 behaves like Opera 7.54.
As everybody should know, that is irrelevant when thinking what is right
way...
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
| |
|
| Lauri Raittila wrote:
> Boris wrote;
>
> Firefox. I have meaned to make clear test case for this to post
> opera.* for while, but haven't got time. Can you keep it where it
> forever? If so, do. X-posting (put not setting fups, do that) to
> opera.tech to ask if it is known bug? (happens in 7.6p1 too)
I keep the page there for some while (for some months but not forever).
> Box3 should be right of box 2, not box1
>
>
> It goes against #5. The outer top of a floating box may not be higher
> than the outer top of any block or floated box generated by an element
> earlier in the source document. Rule 5 is more important than rule #7
I see, I agree with you. Then Firefox is right.
>
> As everybody should know, that is irrelevant when thinking what is
> right way...
No one claimed that.
Boris
| |
| Harlan Messinger 2004-10-22, 7:15 pm |
|
"Boris" <boris@gtemail.net> wrote in message
news:2tntnpF22gtr4U1@uni-berlin.de...
> Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and
> Firefox 1.0 Preview. Who is right?
>
> In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating
> box must be placed as high as possible" (see
> http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do you
> agree?
"As high as possible" is vague--obviously: otherwise, all floats would start
back up at the top of the page! Box 3 in this case can't start higher than
the "clear" established by Box 2. Once an element has established a "clear",
it seems to me that all following elements are subject to it. You shouldn't
have to keep clearing over and over again--and if you did, the browser would
have no way to know which previous floating elements the current element was
clearing and which ones it wasn't. So, I'd say Opera's wrong.
> BTW, Internet Explorer 6 behaves like Opera 7.54.
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|