Move margin_padding_inline_block_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 9fb26df3c5
commit da97da7278
4 changed files with 25 additions and 1 deletions

View file

@ -1031,6 +1031,18 @@
"url": "/_mozilla/css/many_brs_a.html"
}
],
"css/margin_padding_inline_block_a.html": [
{
"path": "css/margin_padding_inline_block_a.html",
"references": [
[
"/_mozilla/css/margin_padding_inline_block_ref.html",
"=="
]
],
"url": "/_mozilla/css/margin_padding_inline_block_a.html"
}
],
"css/margins_inside_floats_a.html": [
{
"path": "css/margins_inside_floats_a.html",
@ -4500,6 +4512,18 @@
"url": "/_mozilla/css/many_brs_a.html"
}
],
"css/margin_padding_inline_block_a.html": [
{
"path": "css/margin_padding_inline_block_a.html",
"references": [
[
"/_mozilla/css/margin_padding_inline_block_ref.html",
"=="
]
],
"url": "/_mozilla/css/margin_padding_inline_block_a.html"
}
],
"css/margins_inside_floats_a.html": [
{
"path": "css/margins_inside_floats_a.html",

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<link rel='match' href='margin_padding_inline_block_ref.html'>
<style>
html, body {
margin: 0;
}
</style>
<div><span style="padding-left: 100px; display: inline-block">Boo</span></div>
<div><span style="padding-left: 100px">Foo</span></div>
<div><span style="margin-left: 100px">Foo</span></div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<style>
html, body {
margin: 0;
}
div {
position: relative;
}
span {
position: relative;
left: 100px;
}
</style>
<div><span>Boo</span></div>
<div><span>Foo</span></div>
<div><span>Foo</span></div>