Bug 1758703 [wpt PR 33122] - [block-in-inline] Don't apply `vertical-align`, a=testonly
commit2407eb88f472d2c3a5cbade5cd1da1099360f5cf
authorKoji Ishii <kojii@chromium.org>
Thu, 24 Mar 2022 10:21:36 +0000 (24 10:21 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 26 Mar 2022 21:56:15 +0000 (26 21:56 +0000)
tree6cb92dade4a04f0e491867891a1e7452d97d200f
parentf3b162d8daa380612f3556b61227461a27c08d91
Bug 1758703 [wpt PR 33122] - [block-in-inline] Don't apply `vertical-align`, a=testonly

Automatic update from web-platform-tests
[block-in-inline] Don't apply `vertical-align`

This patch stops applying the `vertical-align` property to the
wrapper lines of block-in-inline.

They should apply to regular lines though; e.g.,
```
  <span>
    1
    <div>2</div>
    3
    <div>4</div>
    5
  </span>
```
then the `vertical-align` should apply to "1", "3", and "5",
but not to "2" and "4".

The behavior is compatible with the continuation (pre-
LayoutNGBlockInInline) and Gecko.

Bug: 13025811290806
Change-Id: I4428209e6247cc2ce46f477dc7d1614f5bd175ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3512211
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Auto-Submit: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#979207}

--

wpt-commits: 32ab38e0a28e184629977c6ede33ea53a4d712f8
wpt-pr: 33122
testing/web-platform/tests/css/CSS2/normal-flow/block-in-inline-vertical-align-001-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/CSS2/normal-flow/block-in-inline-vertical-align-001.html [new file with mode: 0644]