Auto merge of #7388 - paulrouget:issue-7332, r=metajack

Test for flexbox crasher

Closes #7332

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7388)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-09-08 12:45:24 -06:00
commit 68f32f7bef
4 changed files with 73 additions and 0 deletions

View file

@ -87,6 +87,18 @@
"url": "/_mozilla/css/class-namespaces.html"
}
],
"css/flex_nochild.html": [
{
"path": "css/flex_nochild.html",
"references": [
[
"/_mozilla/css/flex_nochild-ref.html",
"=="
]
],
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/setpropertypriority.html": [
{
"path": "css/setpropertypriority.html",
@ -884,6 +896,18 @@
"url": "/_mozilla/css/class-namespaces.html"
}
],
"css/flex_nochild.html": [
{
"path": "css/flex_nochild.html",
"references": [
[
"/_mozilla/css/flex_nochild-ref.html",
"=="
]
],
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/setpropertypriority.html": [
{
"path": "css/setpropertypriority.html",

View file

@ -0,0 +1,2 @@
prefs: ["layout.flex.enabled:true",
"layout.flex-direction.enabled:true"]

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>flex_nochild</title>
<style>
body {
margin: 0;
width: 20px;
}
div {
float: left;
width: 10px;
height: 10px;
background: red;
}
</style>
</head>
<body>
<div></div>
<div></div>
</body>
</html>

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<title>flex_nochild</title>
<link rel=match href="flex_nochild-ref.html">
<style>
body {
margin: 0;
width: 20px;
display: flex;
}
div {
display: flex;
width: 10px;
height: 10px;
background: red;
}
</style>
</head>
<body>
<div></div>
<div></div>
</body>
</html>