mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision df7fc2ece226676b8398ece13ddfd31b4f1eca5c
This commit is contained in:
parent
033156b961
commit
cb40a5f9fe
186 changed files with 4525 additions and 1203 deletions
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: align-content property - center</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-content-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-align-content-center-ref.html">
|
||||
<link rel="match" href="reference/flex-align-content-center-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: align-content property - flex-end</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-content-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-align-content-end-ref.html">
|
||||
<link rel="match" href="reference/flex-align-content-end-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: align-content property - space-around</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-content-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-align-content-space-around-ref.html">
|
||||
<link rel="match" href="reference/flex-align-content-space-around-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: align-content property - space-between</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-content-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-align-content-space-between-ref.html">
|
||||
<link rel="match" href="reference/flex-align-content-space-between-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: align-content property - flex-start</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-content-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-align-content-start-ref.html">
|
||||
<link rel="match" href="reference/flex-align-content-start-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: display proprety - flex</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-base-ref.html">
|
||||
<link rel="match" href="reference/flex-base-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: flex-direction proprety - column-reverse</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-direction-column-reverse-ref.html">
|
||||
<link rel="match" href="reference/flex-direction-column-reverse-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
/* Positioned container allows for the self-describing statement to still
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: flex-direction proprety - column</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-direction-column-ref.html">
|
||||
<link rel="match" href="reference/flex-direction-column-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
/* Positioned container allows for the self-describing statement to still
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: flex-direction proprety - row-reverse</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-direction-row-reverse-ref.html">
|
||||
<link rel="match" href="reference/flex-direction-row-reverse-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
.container {
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Flexible Box Test: display proprety - inline-flex</title>
|
||||
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-display-inline-flex">
|
||||
<link rel="match" href="reference/ttwf-reftest-flex-inline-ref.html">
|
||||
<link rel="match" href="reference/flex-inline-ref.html">
|
||||
<meta name="assert" content="Statement describing what the test case is asserting">
|
||||
<style type="text/css">
|
||||
/* Positioned container allows for the self-describing statement to still
|
|
@ -0,0 +1,119 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Flexbox: scrollable overflow area (LTR)</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#scrollable">
|
||||
<link rel="match" href="reference/overflow-area-001-ref.html">
|
||||
<style>
|
||||
|
||||
.set {
|
||||
clear: both;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.test, .ref {
|
||||
display: flex;
|
||||
overflow: scroll;
|
||||
border: solid blue;
|
||||
background: aqua;
|
||||
margin: 1em 0.5em;
|
||||
float: left;
|
||||
}
|
||||
div {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.test {
|
||||
padding: 10px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.test > div {
|
||||
margin: 20px;
|
||||
border: 5px solid transparent;
|
||||
padding: 5px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background: teal;
|
||||
}
|
||||
|
||||
.ref {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-color: orange;
|
||||
}
|
||||
.ref > div {
|
||||
border: 30px solid aqua;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: teal;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if all blue boxes in each row are identical to its first orange one,
|
||||
including the size and position of the scrollbar.
|
||||
|
||||
<div class="set">
|
||||
<div class="ref">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,120 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Flexbox: scrollable overflow area (RTL)</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#scrollable">
|
||||
<link rel="match" href="reference/overflow-area-002-ref.html">
|
||||
<style>
|
||||
|
||||
.set {
|
||||
clear: both;
|
||||
margin: 1em;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.test, .ref {
|
||||
display: flex;
|
||||
overflow: scroll;
|
||||
border: solid blue;
|
||||
background: aqua;
|
||||
margin: 1em 0.5em;
|
||||
float: left;
|
||||
}
|
||||
div {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.test {
|
||||
padding: 10px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.test > div {
|
||||
margin: 20px;
|
||||
border: 5px solid transparent;
|
||||
padding: 5px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background: teal;
|
||||
}
|
||||
|
||||
.ref {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-color: orange;
|
||||
}
|
||||
.ref > div {
|
||||
border: 30px solid aqua;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: teal;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if all blue boxes in each row are identical to its first orange one,
|
||||
including the size and position of the scrollbar.
|
||||
|
||||
<div class="set">
|
||||
<div class="ref">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="test" style="flex-flow: column-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,102 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Flexbox: scrollable overflow area (LTR)</title>
|
||||
<style>
|
||||
|
||||
.set {
|
||||
clear: both;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.ref {
|
||||
display: flex;
|
||||
overflow: scroll;
|
||||
border: solid blue;
|
||||
background: aqua;
|
||||
margin: 1em 0.5em;
|
||||
float: left;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
div {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.ref:first-child {
|
||||
border-color: orange;
|
||||
}
|
||||
.ref > div {
|
||||
border: 30px solid aqua;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: teal;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if all blue boxes in each row are identical to its first orange one,
|
||||
including the size and position of the scrollbar.
|
||||
|
||||
<div class="set">
|
||||
<div class="ref">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,103 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Flexbox: scrollable overflow area (RTL)</title>
|
||||
<style>
|
||||
|
||||
.set {
|
||||
clear: both;
|
||||
margin: 1em;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.ref {
|
||||
display: flex;
|
||||
overflow: scroll;
|
||||
border: solid blue;
|
||||
background: aqua;
|
||||
margin: 1em 0.5em;
|
||||
float: left;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
div {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.ref:first-child {
|
||||
border-color: orange;
|
||||
}
|
||||
.ref > div {
|
||||
border: 30px solid aqua;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: teal;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if all blue boxes in each row are identical to its first orange one,
|
||||
including the size and position of the scrollbar.
|
||||
|
||||
<div class="set">
|
||||
<div class="ref">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse wrap">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="set">
|
||||
<div class="ref" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: row-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="ref" style="flex-flow: column-reverse wrap-reverse">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue