Firefox renders huge height on a colored div badly.




9 years ago
8 years ago


(Reporter: d, Unassigned)


Firefox Tracking Flags

(Not tracked)





9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 (.NET CLR 3.5.30729)

So, I put together a test for huge height values and it seems both test fails in Firefox 3.0.10 and test 2 in 3.5 Beta 4. They both seem to pass in all other browsers. What I noticed about test one, and this might be computer/Windows specific was that it continued to show the colour from the page last visited before you entered "". Try it out with different browsers and see what you get.

Reproducible: Always

Steps to Reproduce:
1. Visit
2. See if any of the tests fail, according to the description.
3. Compare with other browsers.
Actual Results:  
Test 1 isn't green all the way.
Test 2 isn't as long as the height suggests.

Expected Results:  
Test 1 should be green all the way (which it is in the latest BETA)
Test 2 should be as long as the height suggests, as it is in other browsers.

Comment 1

9 years ago
It seems that the yellow background at the bottom of the page is only going as far as necessary to show text, given that "height" is a suggestion.
This is overcome by changing it to

min-height: 100000000px;

where the height cannot be less than stipulated.
Just an observation. I'll leave it up to others to argue the specs.

Comment 2

9 years ago
Oh, I didn't know that. I've always thought that height: was the exact height it should have. And about the specs, I'm not sure what the recommendation is, but I think it's best if all browsers keep the same standards, and in this case it's Firefox who isn't behaving like the others. Opinions?


8 years ago
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.