mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Move inline_block_img_a.html to wpt reftests.
This commit is contained in:
parent
d1b3e098cd
commit
293561a0c4
4 changed files with 25 additions and 1 deletions
|
@ -126,7 +126,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
|
|||
== inline_block_block_direction_margins_a.html inline_block_block_direction_margins_ref.html
|
||||
== inline_block_border_a.html inline_block_border_ref.html
|
||||
== inline_block_border_intrinsic_size_a.html inline_block_border_intrinsic_size_ref.html
|
||||
== inline_block_img_a.html inline_block_img_ref.html
|
||||
== inline_block_margin_a.html inline_block_margin_ref.html
|
||||
== inline_block_margin_auto_a.html inline_block_margin_auto_ref.html
|
||||
== inline_block_margin_auto_zero_a.html inline_block_margin_auto_zero_ref.html
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: white;
|
||||
}
|
||||
.red {
|
||||
color: red;
|
||||
}
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
.ib {
|
||||
display: inline-block;
|
||||
}
|
||||
span {
|
||||
font-family: ahem;
|
||||
font-size: 100px;
|
||||
}
|
||||
.bg {
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg">
|
||||
<span class="red">X</span><img src="400x400_green.png"><span class="green ib">X</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,47 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.red {
|
||||
background-color: red;
|
||||
}
|
||||
.green {
|
||||
background-color: green;
|
||||
}
|
||||
.d1 {
|
||||
position: absolute;
|
||||
top: 320px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.d2 {
|
||||
position: absolute;
|
||||
left: 500px;
|
||||
top: 320px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
img {
|
||||
position: absolute;
|
||||
left: 100px;
|
||||
}
|
||||
.bg {
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg">
|
||||
<div class="d1 red"></div>
|
||||
<img src="400x400_green.png">
|
||||
<div class="d2 green"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue