WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
307965
Make Block and inline-block have the same baseline when `overflow: hidden`
https://bugs.webkit.org/show_bug.cgi?id=307965
Summary
Make Block and inline-block have the same baseline when `overflow: hidden`
Ahmad Saleem
Reported
2026-02-15 19:48:41 PST
Hi Team, While looking through Safari specific failures on WPT, I noticed that we fail following: WPT Test Case -
https://wpt.fyi/results/css/CSS2/linebox/baseline-block-with-overflow-001.html?label=master&label=experimental&aligned&q=safari%3Afail
WPT Test Case Live Link -
https://wpt.live/css/CSS2/linebox/baseline-block-with-overflow-001.html
^ Only Safari fails and even STP237 as well. Blink Commit -
https://chromium-review.googlesource.com/c/chromium/src/+/1701618
*** CSS2 defines[1] the baseline of an 'inline-block' is the bottom margin edge if its `overflow` property is other than `visible`. [1]
https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
*** Just raising, so we can fix it. Thanks!
Attachments
[fast-cq]Patch
(3.95 KB, patch)
2026-02-17 09:35 PST
,
alan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2026-02-17 09:35:30 PST
Created
attachment 478389
[details]
[fast-cq]Patch
EWS
Comment 2
2026-02-17 12:31:17 PST
Committed
307718@main
(9a017d08c0cd): <
https://commits.webkit.org/307718@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 478389
[details]
.
Radar WebKit Bug Importer
Comment 3
2026-02-17 12:32:13 PST
<
rdar://problem/170575015
>
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