Bug 313879

Summary: mercedes-benz.com: `arrow` next to text in menu drop-down is not on same baseline
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Reference Screenshot - WebKit vs Other Browsers
none
Test reduction
none
[fast-cq]Patch none

Ahmad Saleem
Reported 2026-05-01 22:54:08 PDT
Hi Team, While randomly going through websites, I came across following bug: *** Steps to Reproduce *** 1. Go to https://www.mercedes-benz.com/en/ 2. Click on Vehicles and see first column of options 3. Notice `arrow` next to Mercedes-AMG *** Expected Result *** It should be on same baseline. **** Actual Result *** It is not on same baseline. *** Other Browsers *** WebKit ToT (312470@main) [Minibrowser] - Broken Chrome Canary 149.0.7820.1 (Official Build) canary-dcheck (arm64) - Works fine. Firefox Nightly 152 (20260430212929) - Works fine. Thanks!
Attachments
Reference Screenshot - WebKit vs Other Browsers (915.50 KB, image/png)
2026-05-01 22:55 PDT, Ahmad Saleem
no flags
Test reduction (221 bytes, text/html)
2026-05-02 06:09 PDT, alan
no flags
[fast-cq]Patch (6.10 KB, patch)
2026-05-03 08:59 PDT, alan
no flags
Ahmad Saleem
Comment 1 2026-05-01 22:55:55 PDT
Created attachment 479436 [details] Reference Screenshot - WebKit vs Other Browsers
Ahmad Saleem
Comment 2 2026-05-01 22:56:42 PDT
It is broken on shipping Safari 26.4 as well.
alan
Comment 3 2026-05-02 06:09:01 PDT
Created attachment 479439 [details] Test reduction
alan
Comment 4 2026-05-03 08:59:52 PDT
Created attachment 479454 [details] [fast-cq]Patch
Antti Koivisto
Comment 5 2026-05-04 04:40:06 PDT
Comment on attachment 479454 [details] [fast-cq]Patch View in context: https://bugs.webkit.org/attachment.cgi?id=479454&action=review > Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:1387 > + if (box.isAtomicInlineBox() || box.isBlockLevelBox()) { might be good to grep for isAtomicInlineBox to see if anything like this remains.
alan
Comment 6 2026-05-04 05:11:47 PDT
(In reply to Antti Koivisto from comment #5) > Comment on attachment 479454 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=479454&action=review > > > Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:1387 > > + if (box.isAtomicInlineBox() || box.isBlockLevelBox()) { > > might be good to grep for isAtomicInlineBox to see if anything like this > remains. will do.
EWS
Comment 7 2026-05-04 05:14:13 PDT
Committed 312514@main (296751118567): <https://commits.webkit.org/312514@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 479454 [details].
Radar WebKit Bug Importer
Comment 8 2026-05-04 05:15:12 PDT
Note You need to log in before you can comment on or make changes to this bug.