Update web-platform-tests to revision b'd04481569b4924284b8dd53b6430ef67de54073f'

This commit is contained in:
WPT Sync Bot 2021-02-28 08:20:49 +00:00
parent b196bfeeeb
commit b99372177f
122 changed files with 3025 additions and 1278 deletions

View file

@ -1,32 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CSS Reftest Reference</title>
<link rel="author" title="Tsutomu ogaoga Ogasawara" href="mailto:info@ogaoga.org">
<style type="text/css">
.container {
color: white;
width: 9em;
}
.item {
writing-mode: vertical-rl;
background: green;
height: 4em;
width: 1.5em;
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -1,55 +0,0 @@
<!DOCTYPE html> <!-- coding:utf-8 -->
<html>
<head>
<meta charset="utf-8" />
<title>CSS Flexbox Test: flex direction: row</title>
<link rel="author" title="Naoki Okada" href="mailto:somathor@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
<link rel="match" href="css-flexbox-column-ref.html">
<meta name="flags" content="">
<meta name="assert" content="Test checks that when writing mode is vertical and flex-flow: column wrap-reverse, the flex container is vertical.">
<style type="text/css">
.container {
display: flex;
flex-flow: column-reverse wrap-reverse;
writing-mode: vertical-rl;
width: 9em;
min-height: 4em;
color: white;
align-content: flex-end;
background: green;
}
.item {
background: green;
height: 1em;
width: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -1,55 +0,0 @@
<!DOCTYPE html> <!-- coding:utf-8 -->
<html>
<head>
<meta charset="utf-8" />
<title>CSS Flexbox Test: flex direction: row</title>
<link rel="author" title="Naoki Okada" href="mailto:somathor@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
<link rel="match" href="css-flexbox-column-ref.html">
<meta name="flags" content="">
<meta name="assert" content="Test checks that when writing mode is vertical and flex-flow: column wrap, the flex container is vertical.">
<style type="text/css">
.container {
display: flex;
flex-flow: column-reverse wrap;
writing-mode: vertical-rl;
width: 9em;
min-height: 4em;
color: white;
align-content: flex-start;
background: green;
}
.item {
background: green;
height: 1em;
width: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -1,40 +0,0 @@
<!DOCTYPE html> <!-- coding:utf-8 -->
<html>
<head>
<meta charset="utf-8" />
<title>CSS Flexbox Test: flex direction: row</title>
<link rel="author" title="Naoki Okada" href="mailto:somathor@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
<link rel="match" href="css-flexbox-column-ref.html">
<meta name="flags" content="">
<meta name="assert" content="Test checks that when writing mode is vertical and flex-flow: column, the flex container is vertical.">
<style type="text/css">
.container {
display: flex;
flex-flow: column-reverse;
writing-mode: vertical-rl;
width: 9em;
color: white;
}
.item {
background: green;
height: 4em;
width: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -1,55 +0,0 @@
<!DOCTYPE html> <!-- coding:utf-8 -->
<html>
<head>
<meta charset="utf-8" />
<title>CSS Flexbox Test: flex direction: row</title>
<link rel="author" title="Naoki Okada" href="mailto:somathor@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
<link rel="match" href="css-flexbox-column-ref.html">
<meta name="flags" content="">
<meta name="assert" content="Test checks that when writing mode is vertical and flex-flow: column wrap-reverse, the flex container is vertical.">
<style type="text/css">
.container {
display: flex;
flex-flow: column wrap-reverse;
writing-mode: vertical-rl;
width: 9em;
min-height: 4em;
color: white;
align-content: flex-end;
background: green;
}
.item {
background: green;
height: 1em;
width: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -1,55 +0,0 @@
<!DOCTYPE html> <!-- coding:utf-8 -->
<html>
<head>
<meta charset="utf-8" />
<title>CSS Flexbox Test: flex direction: row</title>
<link rel="author" title="Naoki Okada" href="mailto:somathor@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
<link rel="match" href="css-flexbox-column-ref.html">
<meta name="flags" content="">
<meta name="assert" content="Test checks that when writing mode is vertical and flex-flow: column wrap, the flex container is vertical.">
<style type="text/css">
.container {
display: flex;
flex-flow: column wrap;
writing-mode: vertical-rl;
width: 9em;
min-height: 4em;
color: white;
align-content: flex-start;
background: green;
}
.item {
background: green;
height: 1em;
width: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -1,40 +0,0 @@
<!DOCTYPE html> <!-- coding:utf-8 -->
<html>
<head>
<meta charset="utf-8" />
<title>CSS Flexbox Test: flex direction: row</title>
<link rel="author" title="Naoki Okada" href="mailto:somathor@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
<link rel="match" href="css-flexbox-column-ref.html">
<meta name="flags" content="">
<meta name="assert" content="Test checks that when writing mode is vertical and flex-flow: column, the flex container is vertical.">
<style type="text/css">
.container {
display: flex;
flex-flow: column;
writing-mode: vertical-rl;
width: 9em;
color: white;
}
.item {
background: green;
height: 4em;
width: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
}
</style>
</head>
<body>
<p>The test passes if you see a tall green box with pairs of the digits 1-9 and a-i listed right to left in two columns.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<title>Table as a flex item in column-oriented flex container</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#computing-the-table-height">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1692116">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Inflexible table flex item's flex base size is its final main size.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; flex-direction: column;">
<div style="display: table; border: 10px solid green; width: 80px; background: green; flex: 0 0 80px;"></div>
</div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<title>Table as a flex item in column-oriented flex container</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#computing-the-table-height">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1692116">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Inflexible table flex item's flex base size is its final main size.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; flex-direction: column;">
<table style="box-sizing: content-box; border: 10px solid green; background: green;
width: 80px; flex: 0 0 50px">
<caption style="height: 10px; border: 10px solid green; background: green;"></caption>
</table>
</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<title>Table as a flex item in row-oriented flex container</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#computing-the-table-width">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1692116">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Inflexible table flex item's flex base size is its final main size.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; flex-direction: row;">
<div style="display: table; border: 10px solid green; height: 80px; background: green; flex: 0 0 80px;"></div>
</div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<title>Table as a flex item in row-oriented flex container</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#computing-the-table-width">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1692116">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Inflexible table flex item's flex base size is its final main size.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; flex-direction: row;">
<table style="box-sizing: content-box; border: 10px solid green; background: green;
height: 50px; flex: 0 0 80px">
<caption style="height: 10px; border: 10px solid green; background: green;"></caption>
</table>
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#valdef-align-items-stretch">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=799725">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="The table's cross-axis (inline-size) is stretched while the main-axis is not growing.">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: flex; flex-direction: column; width: 100px; background: red;">
<table style="border-spacing: 0; height: 90px;">
<caption style="height: 10px; background: green;"></caption>
<td style="background: green;"></td>
</table>
</div>