[Webkit-unassigned] [Bug 47618] offsetHeight and offsetWidth of <ins> element always 0 when text content enclosed in some other element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 30 06:02:32 PDT 2022


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

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

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

--- Comment #1 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am able to reproduce this bug in Safari 15.6 on macOS 12.5 based on attached test cases and it shows following values across all browsers:

*** Safari 15.6 on macOS 12.5 ***

This insertion's content is wrapped in a <p>:

offsetHeight of ins with p-wrapped content: 0
offsetWidth of ins with p-wrapped content: 0

*** Chrome Canary 106 ***

offsetHeight of ins with p-wrapped content: 19
offsetWidth of ins with p-wrapped content: 948

*** Firefox Nightly 105 ***

offsetHeight of ins with p-wrapped content: 19
offsetWidth of ins with p-wrapped content: 966

Just wanted to share updated test 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/20220730/66d67f5b/attachment.htm>


More information about the webkit-unassigned mailing list