The CSS height property on a body or html tag does not work properly when set to 100%

RESOLVED WORKSFORME

Status

()

Core
Layout
RESOLVED WORKSFORME
16 years ago
16 years ago

People

(Reporter: Carlos Casaldeiro, Assigned: Marc Attinasi)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)
BuildID:    2001091311

The height property when assigned to the body or html tag should equate to the 
actual viewport of the browser window. Apparently it is using the complete 
window size instead of the canvas size.

The bug is found in Windows and Linux versions.

Reproducible: Always
Steps to Reproduce:
1. create an html doc
2. using css stablish the height property for the body tag to 100%
3. create a table inside and set the height property to 100%
4. make sure the margin-bottom is 0px for both


Actual Results:  the page renders with the table height with more than the 
viewport

Expected Results:  the page should render with the table spanning the complete 
height of the viewport or canvas of the browser window.
What about the body's top margin?  Setting QA to hixie who may know how this 
stuff is supposed to work in quirks mode.  Or is the page in strict mode?  
Carlos, could you possibly attach a testcase?
QA Contact: petersen → ian

Comment 2

16 years ago
Marking these all WORKSFORME sorry about lack of response but were very
overloaded here. Only reopen the bug if you can reproduce with the following steps:

1) Download the latest nightly (or 0.9.6 which should be out RSN)
2) Create a new profile
3) test the bug again

If it still occurs go ahead and reopen the bug. Again sorry about no response
were quite overloaded here and understaffed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.