mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test Reference: flex container layout lowest order with column-reverse direction</title>
|
||||
<link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
|
||||
<link rel="reviewer" title="Tab Atkins" href="mailto:jackalmage@gmail.com">
|
||||
<style>
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the paragraph below reads 'First,Second,Third' from top.</p>
|
||||
<div id="test">
|
||||
<p id="first">First,</p>
|
||||
<p id="second">Second,</p>
|
||||
<p id="third">Third</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: flex container layout lowest order with column-reverse direction</title>
|
||||
<link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
|
||||
<link rel="reviewer" title="Tab Atkins" href="mailto:jackalmage@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-order">
|
||||
<link rel="match" href="order-with-column-reverse-ref.html">
|
||||
<meta name="assert" content="This test check that a flex container layouts out its content starting with the lowest numbered ordinal group and going up with column-reverse direction.">
|
||||
<style>
|
||||
#test {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
#first {
|
||||
order: 3;
|
||||
}
|
||||
|
||||
#second {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
#third {
|
||||
order: 1;
|
||||
}
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the paragraph below reads 'First,Second,Third' from top.</p>
|
||||
<div id="test">
|
||||
<p id="second">Second,</p>
|
||||
<p id="first">First,</p>
|
||||
<p id="third">Third</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test Reference: flex container layout lowest order with row-reverse direction</title>
|
||||
<link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
|
||||
<link rel="reviewer" title="Tab Atkins, Jr." href="mailto:jackalmage@gmail.com">
|
||||
<style>
|
||||
#leftmost {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#middle {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#rightmost {
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the paragraph below reads 'First,Second,Third' from leftmost.</p>
|
||||
<div id="test">
|
||||
<p id="rightmost">Third</p>
|
||||
<p id="middle">Second,</p>
|
||||
<p id="leftmost">First,</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: flex container layout lowest order with row-reverse direction</title>
|
||||
<link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
|
||||
<link rel="reviewer" title="Tab Atkins, Jr." href="mailto:jackalmage@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-order">
|
||||
<meta name="flags" content="">
|
||||
<link rel="match" href="order-with-row-reverse-ref.html">
|
||||
<meta name="assert" content="This test check that a flex container layouts out its content starting with the lowest numbered ordinal group and going up with row-reverse direction.">
|
||||
<style>
|
||||
#test {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
#leftmost {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
#middle {
|
||||
order: 0;
|
||||
}
|
||||
|
||||
#rightmost {
|
||||
order: -1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the paragraph below reads 'First,Second,Third' from leftmost.</p>
|
||||
<div id="test">
|
||||
<p id="leftmost">First,</p>
|
||||
<p id="middle">Second,</p>
|
||||
<p id="rightmost">Third</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue