mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 10adbd6b133f1ccf77a27ed51ffd3e7a00a499ee
This commit is contained in:
parent
ecef8994e0
commit
1d6ba62c8f
119 changed files with 4676 additions and 523 deletions
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<link href="support/flexbox.css" rel="stylesheet">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-align-items-baseline">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-wrap-wrap-reverse">
|
||||
<link rel="match" href="reference/align-baseline-ref.html">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class='flexbox column align-items-baseline'>
|
||||
<h1>This text</h1>
|
||||
<p>should be left aligned.</p>
|
||||
</div>
|
||||
|
||||
<div class='flexbox column align-items-baseline wrap-reverse'>
|
||||
<h1>This text</h1>
|
||||
<p>should be right aligned.</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<link href="../support/flexbox.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class='flexbox column align-items-flex-start'>
|
||||
<h1>This text</h1>
|
||||
<p>should be left aligned.</p>
|
||||
</div>
|
||||
|
||||
<div class='flexbox column align-items-flex-start wrap-reverse'>
|
||||
<h1>This text</h1>
|
||||
<p>should be right aligned.</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<title>item's min/max cross sizes</title>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes" title="Bullet 1">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="specified max cross size on stretched items is honored pre-flexing" />
|
||||
|
||||
<style>
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
#reference-overlapped-red {
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div id="reference-overlapped-red"></div>
|
||||
|
||||
<div style="display:flex; flex-direction: column; width: 100px; background: green">
|
||||
<div style="max-width: 50px; line-height: 0px;">
|
||||
<!-- An engine where these inline blocks don't wrap will give green height 50px. -->
|
||||
<div class=inline-block></div><div class=inline-block></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<title>item's min/max cross sizes</title>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes" title="Bullet 1">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="specified max cross size on ortho stretched items is honored pre-flexing" />
|
||||
|
||||
<style>
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
#reference-overlapped-red {
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div id="reference-overlapped-red"></div>
|
||||
|
||||
<div style="display:flex; height: 110px;">
|
||||
<div style="writing-mode: vertical-lr; max-height: 100px; line-height: 0px; background: green;">
|
||||
<div class=inline-block></div><div class=inline-block></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<title>item's min/max cross sizes</title>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes" title="Bullet 1">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="specified min cross size on stretched items is honored pre-flexing" />
|
||||
|
||||
<style>
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
width: 1px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
|
||||
<div style="display:flex; flex-direction: column; width: 0px;">
|
||||
<div style="background: green; min-width: 100px; line-height: 0px;">
|
||||
<div class=inline-block></div><div class=inline-block></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue