WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 301672
301263
text-box-trim + underline (a, u, ins, abbr) spacing issue.
https://bugs.webkit.org/show_bug.cgi?id=301263
Summary
text-box-trim + underline (a, u, ins, abbr) spacing issue.
Nilesh Prajapati
Reported
2025-10-22 02:07:57 PDT
Hi Webkit, I’ve come across an issue with inline elements (a, u, ins, and abbr) that contain an underline. When `text-box-trim` is applied, the spacing between the text and the underline has additional spacing. I have included a Codepen demo of the issue, see below:
https://codepen.io/nileshprajapati/pen/JoGNEgz
In comparison, Chrome behaves as expected, but within Safari, this displays inconsistent additional spacing between the text and the text-decoration underline. Note: I have tested both with and without text-underline-offset in the demo above. Thanks, Nilesh
Attachments
Test reduction
(165 bytes, text/html)
2025-10-30 13:07 PDT
,
alan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-29 02:08:12 PDT
<
rdar://problem/163629558
>
alan
Comment 2
2025-10-30 13:07:51 PDT
Created
attachment 477238
[details]
Test reduction
alan
Comment 3
2025-10-30 13:08:41 PDT
Nilesh, thank you for filing this bug report. I am able to reproduce this issue on trunk.
alan
Comment 4
2025-10-30 16:28:21 PDT
Apparently I "accidentally" fixed it today with
302345@main
. It was supposed to be a cleanup type of change but now I have a test case. Thank you!
alan
Comment 5
2025-10-30 16:28:40 PDT
*** This bug has been marked as a duplicate of
bug 301672
***
Nilesh Prajapati
Comment 6
2025-10-30 16:35:28 PDT
👍🏾
alan
Comment 7
2025-10-31 19:14:08 PDT
some more fixes in
bug 301794
.
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