зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1707031 [wpt PR 28647] - Min/max inline-size calculation for column spanners., a=testonly
Automatic update from web-platform-tests Min/max inline-size calculation for column spanners. Bug: 829028 Change-Id: I1f0301e6891a2ffe2ed4c10767f0d845a5b735c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2846507 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#875987} -- wpt-commits: 6d29edded478dc80de91e2ccb90bfbdd804b25c7 wpt-pr: 28647
This commit is contained in:
Родитель
3adb99dc5b
Коммит
a32d4c2b36
|
@ -0,0 +1,12 @@
|
|||
<!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="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="width:100px; height:100px; background:red;">
|
||||
<div style="width:fit-content; columns:3; background:green;">
|
||||
<div style="column-span:all;">
|
||||
<div style="width:100px; height:100px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,19 @@
|
|||
<!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">
|
||||
<meta name="assert" content="Spanners may be nested inside blocks, as long as none of them establish a new formatting context">
|
||||
<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="width:100px; height:100px; background:red;">
|
||||
<div style="width:fit-content; columns:3; background:green;">
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
<div style="column-span:all;">
|
||||
<div style="width:100px; height:100px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,15 @@
|
|||
<!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">
|
||||
<meta name="assert" content="Spanners may be not be nested formatting context roots - then the element becomes regular column content">
|
||||
<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="width:100px; height:100px; background:red;">
|
||||
<div style="width:fit-content; columns:4; column-gap:0; background:green;">
|
||||
<div style="display:flow-root;">
|
||||
<div style="column-span:all;">
|
||||
<div style="width:25px; height:400px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,10 @@
|
|||
<!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="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="width:100px; height:100px; background:red;">
|
||||
<div style="width:fit-content; columns:4; column-gap:0; height:100%; background:green;">
|
||||
<div style="column-span:all; height:100%; aspect-ratio:1/1;"></div>
|
||||
</div>
|
||||
</div>
|
Загрузка…
Ссылка в новой задаче