mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision 589d1d54b73d37f1efde64f75cc408bdd640b44a
This commit is contained in:
parent
8ab389c10c
commit
1c7e2d22cf
122 changed files with 1953 additions and 415 deletions
|
@ -0,0 +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>
|
||||
PASS
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<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">
|
||||
<link rel="match" href="baseline-000-ref.html">
|
||||
<p>The word "PASS" should be seen below, with letters baseline aligned.</p>
|
||||
<div style="display:flex; align-items:baseline;">
|
||||
PA
|
||||
<div style="columns:2; column-fill:auto; height:5em;">
|
||||
SS
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="width:100px; height:100px; background:green;"></div>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<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.">
|
||||
<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="columns:2; height:100px; column-fill:auto;">
|
||||
<div style="width:50px; height:100px; background:green;"></div>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,7 @@
|
|||
<!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>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<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">
|
||||
<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;">
|
||||
<div style="break-inside:avoid; height:2em;"></div>
|
||||
SS<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +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>
|
||||
PASS
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<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">
|
||||
<link rel="match" href="baseline-003-ref.html">
|
||||
<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;">
|
||||
<div style="column-span:all;">SS</div>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,6 @@
|
|||
<!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="padding-top:2em;">
|
||||
PASS
|
||||
</div>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<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">
|
||||
<link rel="match" href="baseline-004-ref.html">
|
||||
<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;">
|
||||
<div style="column-span:all; height:2em;"></div>
|
||||
<div style="column-span:all;">SS</div>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<p>The word "PASS" should be seen below, with letters baseline aligned.</p>
|
||||
PASS
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<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">
|
||||
<link rel="match" href="baseline-005-ref.html">
|
||||
<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;">
|
||||
SS
|
||||
<div style="column-span:all;"><br></div>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +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="padding-top:33px;">PASS</div>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<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">
|
||||
<link rel="match" href="baseline-006-ref.html">
|
||||
<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;">
|
||||
<div style="height:99px;"></div>
|
||||
<div style="column-span:all;">SS</div>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="width:100px; height:100px; background:green"></div>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<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="height:90px;"></div>
|
||||
<div style="column-span:all; height:30px;"></div>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<p>There should be a green square below.</p>
|
||||
<div style="width:100px; height:100px; background:green;"></div>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<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="According to the spec, a multicol container has no last baseline, only a first baseline. So, when aligning with an inline-block, the block-end outer edge of the multicol is what's used for alignment.">
|
||||
<link rel="match" href="baseline-008-ref.html">
|
||||
<style>
|
||||
.part {
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
background: green;
|
||||
}
|
||||
.multicol {
|
||||
columns: 2;
|
||||
column-fill: auto;
|
||||
}
|
||||
</style>
|
||||
<p>There should be a green square below.</p>
|
||||
<div class="part"></div><div class="part multicol">
|
||||
<br>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue