Bug 15061

Summary: documentElement.clientHeight is wrong in quirks mode
Product: WebKit Reporter: Erik Arvidsson <erik.arvidsson>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2 Keywords: HasReduction
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Testcase none

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
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.