Closed Bug 278222 Opened 20 years ago Closed 20 years ago

right floats not shifted up enough as w3c suggests

Categories

(Core :: Layout: Floats, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jan.ptacek, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

right floats are not shifted as far to the top as possible in firefox
1.0 - this breaks w3c defs i think

Reproducible: Always

Actual Results:  
unwanted result got in FF:
LLLL   TTTTTTTTTTTTTTTT
LLLL   TTTTTTTTTTTTTTTT
       TTTTTTTTTTTTTTTT
LLLL   TTTTTTTTTTTTTTTT
LLLL   TTTTTTTTTTTTTTTT
       TTTTTTTTTTTTTTTT
LLLL   TTTTTTTTTTTTTTTT RRRR
LLLL   TTTTTTTTTTTTTTTT RRRR
       TTTTTTTTTTTTTTTT RRRR
                        RRRR
                        RRRR

Expected Results:  
wanted layout:
LLLL   TTTTTTTTTTTTTTTT  RRRR
LLLL   TTTTTTTTTTTTTTTT  RRRR
       TTTTTTTTTTTTTTTT  RRRR
LLLL   TTTTTTTTTTTTTTTT
LLLL   TTTTTTTTTTTTTTTT  RRRR
       TTTTTTTTTTTTTTTT  RRRR
LLLL   TTTTTTTTTTTTTTTT
LLLL   TTTTTTTTTTTTTTTT
       TTTTTTTTTTTTTTTT
Can you attach a minimal page that produces the layout you are talking about?

http://www.mozilla.org/newlayout/bugathon.html#testcase gives guidance on how to
do this. If we can't see a page, it's a bit difficult to debug!
I swear I checked URL field before posting that. Apologies
http://www.w3.org/TR/2004/CR-CSS21-20040225/visuren.html#float-position says:

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. 

->Invalid
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.