mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision b'704eebbe6af5b43643971e96e33a0c979fba2904'
This commit is contained in:
parent
f8e014d0ba
commit
a6bc3e1a73
194 changed files with 13122 additions and 1992 deletions
|
@ -2,11 +2,11 @@
|
|||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol-1">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#baseline-export">
|
||||
<meta name="assert" content="The multicol container here has no baseline, since we're only supposed to look for a baseline in the first column, which has no lines at all.">
|
||||
<meta name="assert" content="Look for the highest baseline of all the columns.">
|
||||
<link rel="match" href="baseline-001-ref.html">
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="display:flex; align-items:baseline;">
|
||||
<div style="width:50px; height:100px; background:green;"></div>
|
||||
<div style="width:50px; height:100px; background:green;"><br></div>
|
||||
<div style="columns:2; height:100px; column-fill:auto;">
|
||||
<div style="width:50px; height:100px; background:green;"></div>
|
||||
<br>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<p>The word "PASS" should be seen below, with letters baseline aligned.</p>
|
||||
<div style="line-height:2em;">
|
||||
<br>
|
||||
PASS
|
||||
</div>
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="width:100px; height:100px; background:green"></div>
|
||||
|
|
|
@ -3,13 +3,15 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-multicol-1">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#baseline-export">
|
||||
<link rel="match" href="baseline-002-ref.html">
|
||||
<meta name="assert" content="Make sure that baseline propagation doesn't take place before column balancing is finished.">
|
||||
<p>The word "PASS" should be seen below, with letters baseline aligned.</p>
|
||||
<div style="display:flex; align-items:baseline;">
|
||||
PA
|
||||
<div style="columns:3; orphans:1; widows:1; line-height:2em;">
|
||||
<meta name="assert" content="The first-baseline is propagated from the secound column, as it is the highest.">
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="display:flex; align-items:baseline; line-height:2em;">
|
||||
<div style="background:green; width:50px; height:100px;">
|
||||
<br>
|
||||
</div>
|
||||
<div style="background:green; columns:3; orphans:1; widows:1; width:50px; height:100px;">
|
||||
<div style="break-inside:avoid; height:2em;"></div>
|
||||
SS<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
|
|
|
@ -2,12 +2,14 @@
|
|||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol-1">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#baseline-export">
|
||||
<meta name="assert" content="The first column has no baseline. The column after the spanner does have one, but we're not supposed to look beyond the first column (and any spanners).">
|
||||
<link rel="match" href="baseline-007-ref.html">
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="display:flex; align-items:baseline;">
|
||||
<div style="width:50px; height:100px; background:green;"></div>
|
||||
<div style="columns:3; width:50px; line-height:40px; background:green;">
|
||||
<div style="display:flex; align-items:baseline; line-height:40px;">
|
||||
<div style="width:50px; background:green;">
|
||||
<div style="height:60px;"></div>
|
||||
<br>
|
||||
</div>
|
||||
<div style="columns:3; width:50px; background:green;">
|
||||
<div style="height:90px;"></div>
|
||||
<div style="column-span:all; height:30px;"></div>
|
||||
<br>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1377576">
|
||||
<div style="columns:2;">
|
||||
<div style="overflow:clip; height:15px;">
|
||||
<div style="height:20px;"></div>
|
||||
<div style="column-span:all;"></div>
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1393887">
|
||||
<div style="columns:3; column-rule:solid; line-height:20px;">
|
||||
<div style="height:15px;">
|
||||
<br><br><br><br><br><br>
|
||||
<span>
|
||||
<div style="column-span:all; height:10px;"></div>
|
||||
</span>
|
||||
</div>
|
||||
<div style="height:100px;"></div>
|
||||
</div>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1395304">
|
||||
<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="columns:2; gap:0;">
|
||||
<div style="height:10px;">
|
||||
<div style="break-inside:avoid; height:60px; background:green;"></div>
|
||||
<div style="break-inside:avoid; height:20px; background:green;"></div>
|
||||
<div style="break-before:avoid; break-inside:avoid; height:40px; background:green;"></div>
|
||||
<div style="break-inside:avoid; width:200%; margin-left:-100%; height:20px; background:green;"></div>
|
||||
<div style="column-span:all; height:10px; background:green;"></div>
|
||||
</div>
|
||||
<div style="height:20px; background:green;"></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://bugs.chromium.org/p/chromium/issues/detail?id=1395304">
|
||||
<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="columns:2; gap:0; line-height:20px; orphans:1; widows:2;">
|
||||
<div style="height:15px;">
|
||||
<span>
|
||||
<div style="display:inline-block; width:100%; height:30px; vertical-align:top; background:green;"></div>
|
||||
<div style="display:inline-block; width:100%; height:30px; vertical-align:top; background:green;"></div>
|
||||
<div style="display:inline-block; width:100%; height:30px; vertical-align:top; background:green;"></div>
|
||||
<div style="display:inline-block; width:100%; height:30px; vertical-align:top; background:green;"></div>
|
||||
<div style="column-span:all; height:20px; background:green;"></div>
|
||||
</span>
|
||||
</div>
|
||||
<div style="height:40px; background:green;"></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue