RESOLVED CONFIGURATION CHANGED 214632
Incorrect baseline calculation for inline-block element with overflow value other than 'visible'
https://bugs.webkit.org/show_bug.cgi?id=214632
Summary Incorrect baseline calculation for inline-block element with overflow value o...
Maksim Ryzhikov
Reported 2020-07-22 02:32:41 PDT
Created attachment 404910 [details] How code looks in Safari Specification https://www.w3.org/TR/CSS2/visudet.html#leading > The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge. Code which reproduce the problem: ``` <style> #foo { display: inline-block; background-color: magenta; overflow: hidden; } </style> <div id="app"> <span>Hello</span> <span id="foo">World</span> </div> ``` Link on an example: https://6w6ib.csb.app/
Attachments
How code looks in Safari (14.87 KB, image/png)
2020-07-22 02:32 PDT, Maksim Ryzhikov
no flags
How problem code looks in Chrome (17.42 KB, image/png)
2020-07-22 02:34 PDT, Maksim Ryzhikov
no flags
Maksim Ryzhikov
Comment 1 2020-07-22 02:34:06 PDT
Created attachment 404912 [details] How problem code looks in Chrome
Radar WebKit Bug Importer
Comment 2 2020-07-23 17:42:40 PDT
Ahmad Saleem
Comment 3 2022-12-19 18:42:40 PST
It seems it is working fine now in Safari 16.2. @karlcow - can you double check please? Thanks in advance.
Ahmad Saleem
Comment 4 2023-02-18 16:09:46 PST
@Alan - It seems to match now with Chrome Canary. It seems to be IFC progression IMO.
zalan
Comment 5 2023-02-22 10:17:32 PST
yeah, it may very well be. Thank you!
Note You need to log in before you can comment on or make changes to this bug.