mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Add reftests for basic flexbox functionality.
These tests (flex_row_direction.html and flex_column_direction.html) are correct, but only test the small amount of current flexbox functionality.
This commit is contained in:
parent
0e18f645f4
commit
e3bbcb50d2
5 changed files with 139 additions and 0 deletions
34
tests/ref/flex_row_direction_ref.html
Normal file
34
tests/ref/flex_row_direction_ref.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Kyle Zentner" href="mailto:zentner.kyle@gmail.com">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.flexbox {
|
||||
width: 300px;
|
||||
}
|
||||
.first-item {
|
||||
background: orange;
|
||||
height: 100px;
|
||||
width: 150px;
|
||||
float: left;
|
||||
}
|
||||
.second-item {
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 150px;
|
||||
float: left;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flexbox">
|
||||
<div class="first-item"></div>
|
||||
<div class="second-item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue