WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
120498
Fix baseline computation for nested inline-blocks
https://bugs.webkit.org/show_bug.cgi?id=120498
Summary
Fix baseline computation for nested inline-blocks
Ryosuke Niwa
Reported
2013-08-29 15:36:09 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/c608372cc09f02cd9e7cce737a33bb6798ab82b3
This moves the check for overflow: <not visible> into inlineBlockBaseline, so that the baseline gets correctly calculated for an outer inline-block when an inner inline-block or block has overflow: hidden. We also do this if the inner block is not an inline-block -- this matches Firefox behavior and is required for at least one website (
http://in.yahoo.com/
).
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-28 15:49:06 PDT
Test Case 1 -
https://jsfiddle.net/9r1f6m7j/show
- Works same across all browsers (Safari 16, Chrome Canary 108 and Firefox Nightly 107) Test Case 2 -
https://jsfiddle.net/o1ye6bct/show
Difference in browsers:
>> Safari 16 show second line same as Firefox Nightly 107 in terms of scroll position compared to Chrome Canary 108
>> Safari 16 show all boxes in first line display their scrollbar at bottom (scrolled).
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