WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 25240
13173
objBody.offsetHeight gives significantly different value than Firefox
https://bugs.webkit.org/show_bug.cgi?id=13173
Summary
objBody.offsetHeight gives significantly different value than Firefox
Jake Logan
Reported
2007-03-23 14:50:06 PDT
Please see attached reduction. This issue causes some SAP WebDynpro drop-down menus to render hundreds of pixels away from the actual location of the control. Please see attached screen shot.
Attachments
reduction html
(309 bytes, text/html)
2007-03-23 14:50 PDT
,
Jake Logan
no flags
Details
screen shot of issue within SAP environment
(160.66 KB, image/png)
2007-03-23 15:00 PDT
,
Jake Logan
no flags
Details
same reduction, strict mode
(325 bytes, text/html)
2007-08-29 04:07 PDT
,
Alexey Proskuryakov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jake Logan
Comment 1
2007-03-23 14:50:56 PDT
Created
attachment 13784
[details]
reduction html
Jake Logan
Comment 2
2007-03-23 15:00:26 PDT
Created
attachment 13785
[details]
screen shot of issue within SAP environment
Alexey Proskuryakov
Comment 3
2007-08-29 04:07:40 PDT
Created
attachment 16153
[details]
same reduction, strict mode It seems that Safari matches WinIE 7 precisely - the results are also different in strict and quirks modes. Firefox matches both in strict mode, but doesn't have this quirk. Thus, our behavior on the reduction seems correct to me. So, there must be something else about SAP that makes it work in IE, but not in Safari.
Alexey Proskuryakov
Comment 4
2007-08-30 07:03:14 PDT
Somehow, my results do not match Anne's: <
http://lists.w3.org/Archives/Public/www-archive/2007Aug/att-0003/offset-mess.htm
>.
Eric Seidel (no email)
Comment 5
2009-03-03 15:06:02 PST
I assume this is the issue that <body> elements fill the height of the viewport in WebKit and they don't in FF?
Ahmad Saleem
Comment 6
2022-07-30 06:29:39 PDT
*** Safari 15.6 on macOS 12.5 ***
> "reduction.html" ---> before objBody.offsetHeight:928 objBody.tagName:BODY
> "reduction with strict mode" ---> before objBody.offsetHeight:22 objBody.tagName:BODY
*** Chrome Canary 106 ***
> "reduction.html" ---> before objBody.offsetHeight:951 objBody.tagName:BODY
> "reduction with strict mode" ---> before objBody.offsetHeight:22 objBody.tagName:BODY
*** Firefox Nightly 105 ***
> "reduction.html" ---> before objBody.offsetHeight:22 objBody.tagName:BODY
> "reduction with strict mode" ---> before objBody.offsetHeight:22 objBody.tagName:BODY
_________ I am not sure on web-spec and what should be correct behavior but wanted to share latest test results from all browsers. Thanks!
Anne van Kesteren
Comment 7
2023-12-19 07:55:38 PST
*** This bug has been marked as a duplicate of
bug 25240
***
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