mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move percent_height.html to wpt reftests.
This commit is contained in:
parent
be06819f55
commit
6a95d4ede7
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/percent_height.html": [
|
||||
{
|
||||
"path": "css/percent_height.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/percent_height_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/percent_height.html"
|
||||
}
|
||||
],
|
||||
"css/percentage_height_float_a.html": [
|
||||
{
|
||||
"path": "css/percentage_height_float_a.html",
|
||||
|
@ -3312,6 +3324,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/percent_height.html": [
|
||||
{
|
||||
"path": "css/percent_height.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/percent_height_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/percent_height.html"
|
||||
}
|
||||
],
|
||||
"css/percentage_height_float_a.html": [
|
||||
{
|
||||
"path": "css/percentage_height_float_a.html",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/percent_height.html
Normal file
23
tests/wpt/mozilla/tests/css/percent_height.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='percent_height_ref.html'>
|
||||
<style type="text/css">
|
||||
.outer {
|
||||
background: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.inner {
|
||||
background: green;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer">
|
||||
<div class="inner"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
16
tests/wpt/mozilla/tests/css/percent_height_ref.html
Normal file
16
tests/wpt/mozilla/tests/css/percent_height_ref.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
.outer {
|
||||
background: green;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue