mirror of
https://github.com/servo/servo.git
synced 2025-09-25 22:30:12 +01:00
Move inline_block_with_margin_a.html to wpt reftests.
This commit is contained in:
parent
82ac32c7ae
commit
7f746c3f6d
4 changed files with 25 additions and 1 deletions
|
@ -707,6 +707,18 @@
|
|||
"url": "/_mozilla/css/inline_block_percentage_height_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_with_margin_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_with_margin_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_with_margin_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_with_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_border_baseline_a.html": [
|
||||
{
|
||||
"path": "css/inline_border_baseline_a.html",
|
||||
|
@ -4080,6 +4092,18 @@
|
|||
"url": "/_mozilla/css/inline_block_percentage_height_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_with_margin_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_with_margin_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_with_margin_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_with_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_border_baseline_a.html": [
|
||||
{
|
||||
"path": "css/inline_border_baseline_a.html",
|
||||
|
|
26
tests/wpt/mozilla/tests/css/inline_block_with_margin_a.html
Normal file
26
tests/wpt/mozilla/tests/css/inline_block_with_margin_a.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='inline_block_with_margin_ref.html'>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'ahem';
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
span {
|
||||
display: inline-block;
|
||||
color: yellow;
|
||||
margin-left: 50px;
|
||||
margin-right: 50px;
|
||||
background: yellow;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><span></span><span></span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.block0 {
|
||||
position: absolute;
|
||||
background-color: yellow;
|
||||
left: 50px;
|
||||
top: 0px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.block1 {
|
||||
position: absolute;
|
||||
background-color: yellow;
|
||||
left: 250px;
|
||||
top: 0px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="block0"></div>
|
||||
<div class="block1"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue