Bug 13173 - objBody.offsetHeight gives significantly different value than Firefox
Summary: objBody.offsetHeight gives significantly different value than Firefox
Status: RESOLVED DUPLICATE of bug 25240
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 14:50 PDT by Jake Logan
Modified: 2023-12-19 07:55 PST (History)
6 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Logan 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.
Comment 1 Jake Logan 2007-03-23 14:50:56 PDT
Created attachment 13784 [details]
reduction html
Comment 2 Jake Logan 2007-03-23 15:00:26 PDT
Created attachment 13785 [details]
screen shot of issue within SAP environment
Comment 3 Alexey Proskuryakov 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.
Comment 4 Alexey Proskuryakov 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>.
Comment 5 Eric Seidel (no email) 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?
Comment 6 Ahmad Saleem 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!
Comment 7 Anne van Kesteren 2023-12-19 07:55:38 PST

*** This bug has been marked as a duplicate of bug 25240 ***