mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Move inline_block_margin_auto_zero_a.html to wpt reftests.
This commit is contained in:
parent
4625d2e3d0
commit
9badd19405
4 changed files with 25 additions and 1 deletions
|
@ -755,6 +755,18 @@
|
|||
"url": "/_mozilla/css/inline_block_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_margin_auto_zero_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_margin_auto_zero_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_margin_auto_zero_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_margin_auto_zero_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_min_width.html": [
|
||||
{
|
||||
"path": "css/inline_block_min_width.html",
|
||||
|
@ -4404,6 +4416,18 @@
|
|||
"url": "/_mozilla/css/inline_block_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_margin_auto_zero_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_margin_auto_zero_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_margin_auto_zero_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_margin_auto_zero_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_min_width.html": [
|
||||
{
|
||||
"path": "css/inline_block_min_width.html",
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel='match' href='inline_block_margin_auto_zero_ref.html'>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
width: 300px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
nav {
|
||||
display: inline-block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin: 0 auto;
|
||||
background: gold;
|
||||
}
|
||||
</style>
|
||||
<section><nav></nav></section>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: gold;
|
||||
}
|
||||
nav {
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
top: 0;
|
||||
left: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
<section></section><nav></nav>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue