Bug 1669610 [wpt PR 26018] - Reland "[LayoutNG] Don't truncate margins after spanners.", a=testonly

Automatic update from web-platform-tests
Reland "[LayoutNG] Don't truncate margins after spanners."

This is a reland of 430b7621a298f2744248997692a2d8f68224fa67

Original change's description:
> [LayoutNG] Don't truncate margins after spanners.
>
> A column spanner forcefully breaks a column, so any leading margins on
> content right after the spanner shouldn't be discarded.
>
> Bug: 829028
> Change-Id: I767466677d72be2760306ddd531e847f52cfa8ca
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445482
> Reviewed-by: Alison Maher <almaher@microsoft.com>
> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
> Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#813892}

Bug: 829028
Change-Id: I83b1242b9a2e47b7205fc35e31b806e370141e8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454050
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814592}

--

wpt-commits: 091bba0dd53be9c1f4ae8345b86675b784013447
wpt-pr: 26018
This commit is contained in:
Morten Stenshorne 2020-10-08 16:43:10 +00:00 коммит произвёл moz-wptsync-bot
Родитель 8d508fcb0f
Коммит 8518422642
1 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,16 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#spanning-columns">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#break-margins">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; column-gap:0; width:100px; background:red;">
<div style="height:30px;"></div>
<div style="height:30px; background:green;"></div>
<div>
<div style="column-span:all; height:40px; background:green;">
<div style="width:50px; height:40px; background:red;"></div>
</div>
</div>
<div style="margin-top:-70px; height:130px; background:green;"></div>
</div>