Closed
Bug 198257
Opened 23 years ago
Closed 22 years ago
body.clientHeight is incorrect when overflow is auto.
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: maksim, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
reported value for clientHeight is incorrect ( basically equal to size of biggest
element inside a body ) when style overflow:auto
see example:
2 files in zip:
html-auto.htm
html-def.htm
see value in status bar for body and inner div.
funny thing is, it draws correctly, fill all client area.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Comment 2•23 years ago
|
||
Updated•23 years ago
|
Attachment #117747 -
Attachment mime type: text/plain → text/html
Comment 3•23 years ago
|
||
Actually, if you put a border on tbe <body> you will see that it draws correctly
and does _NOT_ fill the client area in both cases....
This is a duplicate.
Whiteboard: DUPEME
| Reporter | ||
Comment 4•23 years ago
|
||
To Boris Zbarsky
Duplicate of what, bug number please.
Comment 6•22 years ago
|
||
Forget it. Looking for the original is not worth it. The point is that if the
body itself is not scrollable and in quirks mode only we map the body's
clientHeight/scrollHeight/etc to the viewport for IE compat. If the body is
scrollable, then we actually use the properties of the body itself.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•