[Webkit-unassigned] [Bug 28810] offsetWidth of elements containing nested in block level elements reported as 0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 27 13:29:49 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=28810

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #6 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am able to reproduce this bug using attached test case in Safari 15.6 on macOS 12.5 and it shows "test2.offsetWidth: 0" - which is what this bug about. Here are results from other browsers:

** Firefox Nightly 105 **

test1.offsetWidth: 96
test2.offsetWidth: 1277

** Chrome Canary 106 **

test1.offsetWidth: 96
test2.offsetWidth: 1287 (There was another bug where Chrome was different from Firefox with just 10 px and it was about scrollbar - just want to add some note here)

** Safari 15.6 on macOS 12.5 **

test1.offsetWidth: 96
test2.offsetWidth: 0

Just find updated results. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220727/b84f0a34/attachment.htm>


More information about the webkit-unassigned mailing list