mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
commit
68f32f7bef
4 changed files with 73 additions and 0 deletions
|
@ -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",
|
||||
|
|
2
tests/wpt/mozilla/meta/css/__dir__.ini
Normal file
2
tests/wpt/mozilla/meta/css/__dir__.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
prefs: ["layout.flex.enabled:true",
|
||||
"layout.flex-direction.enabled:true"]
|
23
tests/wpt/mozilla/tests/css/flex_nochild-ref.html
Normal file
23
tests/wpt/mozilla/tests/css/flex_nochild-ref.html
Normal 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>
|
||||
|
24
tests/wpt/mozilla/tests/css/flex_nochild.html
Normal file
24
tests/wpt/mozilla/tests/css/flex_nochild.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue