Move inline_block_baseline_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent ea000471d3
commit 79288fd584
4 changed files with 25 additions and 1 deletions

View file

@ -887,6 +887,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
}
],
"css/inline_block_baseline_a.html": [
{
"path": "css/inline_block_baseline_a.html",
"references": [
[
"/_mozilla/css/inline_block_baseline_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_baseline_a.html"
}
],
"css/inline_block_block_direction_margins_a.html": [
{
"path": "css/inline_block_block_direction_margins_a.html",
@ -4776,6 +4788,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
}
],
"css/inline_block_baseline_a.html": [
{
"path": "css/inline_block_baseline_a.html",
"references": [
[
"/_mozilla/css/inline_block_baseline_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_baseline_a.html"
}
],
"css/inline_block_block_direction_margins_a.html": [
{
"path": "css/inline_block_block_direction_margins_a.html",

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='inline_block_baseline_ref.html'>
<style type="text/css">
body {
font-family: 'ahem';
font-size: 400px;
line-height: 1;
margin: 0;
}
.test {
color: green;
display: inline-block;
font-size: 300px;
}
.cdef {
color: red;
}
</style>
</head>
<body>
<div class="cdef">X<span class="test">X</span></div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.d1 {
position: absolute;
width: 400px;
height: 400px;
}
.d2 {
position: absolute;
left: 400px;
top: 80px;
width: 300px;
height: 300px;
}
</style>
</head>
<body>
<div class="d1 red"></div>
<div class="d2 green"></div>
</body>
</html>