mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
Automatic update from web-platform-tests [LayoutNG] Make Block and inline-block have the same baseline when `overflow: hidden` CSS2 defines[1] the baseline of an 'inline-block' is the bottom margin edge if its `overflow` property is other than `visible`. Legacy, Gecko, and WebKit apply this rule to `block` too. This patch matches to these engines. Edge fails these tests, but MSN serves different page for Edge (no gear icon) and that this problem does not appear. [1] https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align Bug: 983822 Change-Id: I2c6c9ea7cb629a61720c9aeec9979341ce86360e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1701618 Reviewed-by: Emil A Eklund <[email protected]> Commit-Queue: Emil A Eklund <[email protected]> Commit-Queue: Koji Ishii <[email protected]> Cr-Commit-Position: refs/heads/master@{#677461} -- wpt-commits: b91110463d121e6b4ba6749df1fe5f54e9540d92 wpt-pr: 17841