WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
15061
documentElement.clientHeight is wrong in quirks mode
https://bugs.webkit.org/show_bug.cgi?id=15061
Summary
documentElement.clientHeight is wrong in quirks mode
Erik Arvidsson
Reported
2007-08-23 11:45:14 PDT
document.documentElement.clientHeight should give the window.innerHeight - the scrollbar height. This works fine in strict mode but it returns the scrollHeight in quirks mode. Test case coming
Attachments
Testcase
(5.11 KB, text/html)
2007-08-23 11:45 PDT
,
Erik Arvidsson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Erik Arvidsson
Comment 1
2007-08-23 11:45:55 PDT
Created
attachment 16099
[details]
Testcase The clientHeight should change when the window size changes
Alexey Proskuryakov
Comment 2
2007-08-28 06:12:55 PDT
This behavior matches Firefox. I haven't checked if it's documented at quirksmode or somewhere else, but it looks like an intentional quirk.
Erik Arvidsson
Comment 3
2007-08-28 11:23:59 PDT
You are right. Closing and marking as invalid.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug