468,110 Members | 1,583 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

Opera 7.54 vs. Firefox 1.0 Preview: Who is right with float:left?

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?

BTW, Internet Explorer 6 behaves like Opera 7.54.

Boris
Jul 21 '05 #1
3 2129

"Boris" <bo***@gtemail.net> wrote in message
news:2t*************@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.


Jul 21 '05 #2
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>
Jul 21 '05 #3
Lauri Raittila wrote:
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)


I keep the page there for some while (for some months but not forever).
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


I see, I agree with you. Then Firefox is right.
BTW, Internet Explorer 6 behaves like Opera 7.54.


As everybody should know, that is irrelevant when thinking what is
right way...


No one claimed that.

Boris
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Jeff Thies | last post: by
2 posts views Thread by patrick h. | last post: by
reply views Thread by McGeeky | last post: by
reply views Thread by Dessip | last post: by
1 post views Thread by Oliver Block | last post: by
reply views Thread by vytas | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.