Cursor height in contenteditable div includes padding/margin bottom with display:inline-block
Created attachment 219945 [details] Fixes the bug
Created attachment 219946 [details] Fixes the bug
Created attachment 219948 [details] Fixed the test
Also see https://code.google.com/p/chromium/issues/detail?id=314223
Comment on attachment 219948 [details] Fixed the test Assuming that patches for review since 2013 are stale, r-
I am unable to reproduce this bug using JSFiddle below from Chrome Bug URL in Safari 15.5 on macOS 12.4: Test Case - 1 - https://jsfiddle.net/TNfeL/1/ Test Case - 2 - https://jsfiddle.net/TNfeL/ Cursor height matches the field but in test case (2) - Chrome Canary 104 again have bottom padding. While it is completely broken in Firefox Nightly 103. For Test case (1) - all browsers are consistent. If my testing is flawed and this bug is still present, please retest it accordingly. Otherwise, please mark this as "RESOLVED CONFIGURATION CHANGED" or "RESOLVED INVALID" as needed. Thanks!
Adding some experts to review the current state.
This was addressed at https://trac.webkit.org/changeset/260367/webkit
*** This bug has been marked as a duplicate of bug 210622 ***
(In reply to Ahmad Saleem from comment #6) > I am unable to reproduce this bug using JSFiddle below from Chrome Bug URL > in Safari 15.5 on macOS 12.4: > > Test Case - 1 - https://jsfiddle.net/TNfeL/1/ > > Test Case - 2 - https://jsfiddle.net/TNfeL/ > > Cursor height matches the field but in test case (2) - Chrome Canary 104 > again have bottom padding. While it is completely broken in Firefox Nightly > 103. For Test case (1) - all browsers are consistent. > > If my testing is flawed and this bug is still present, please retest it > accordingly. Otherwise, please mark this as "RESOLVED CONFIGURATION CHANGED" > or "RESOLVED INVALID" as needed. Thanks! Thank you for testing it!