WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
298631
[css-list] Render marker text closer to list items
https://bugs.webkit.org/show_bug.cgi?id=298631
Summary
[css-list] Render marker text closer to list items
Ahmad Saleem
Reported
2025-09-09 17:48:19 PDT
Hi Team, While looking into list-items, I came across two tests failing in Safari / WebKit only. Test Case (LTR):
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=14056
Test Case (RTL):
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=14057
^ The numbers are half clipped, while other browsers show them properly. Fails on WebKit ToT (
299783@main
). Passes on Firefox Nightly 144 and Chrome Canary 142. Blink Commit:
https://chromium.googlesource.com/chromium/src.git/+/ae74f84464416b7d9fc63e808c4161eb08ffc1c3
WebKit Source:
https://searchfox.org/wubkat/rev/379f807d0ee26713ff73973eea9a42e90f274bd7/Source/WebCore/rendering/RenderListMarker.cpp#414
Just raising, so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2025-09-09 17:50:21 PDT
I think this might get fixed by
bug 298349
.
Ahmad Saleem
Comment 2
2025-09-09 18:26:50 PDT
Changing: return { -minPreferredLogicalWidth() - offset / 2, offset / 2 }; to: return { -minPreferredLogicalWidth(), 0 }; ___ Fixes those two tests.
Radar WebKit Bug Importer
Comment 3
2025-09-16 17:55:51 PDT
<
rdar://problem/160736173
>
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