mirror of
https://github.com/servo/servo.git
synced 2025-08-27 08:08:19 +01:00
Move vertical_align_top_span_a.html to wpt reftests.
This commit is contained in:
parent
bae2ca0e39
commit
77d5f85b25
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_top_span_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_top_span_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical_align_top_span_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical_align_top_span_a.html"
|
||||
}
|
||||
],
|
||||
"css/word-spacing.html": [
|
||||
{
|
||||
"path": "css/word-spacing.html",
|
||||
|
@ -1940,6 +1952,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_top_span_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_top_span_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical_align_top_span_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical_align_top_span_a.html"
|
||||
}
|
||||
],
|
||||
"css/word-spacing.html": [
|
||||
{
|
||||
"path": "css/word-spacing.html",
|
||||
|
|
28
tests/wpt/mozilla/tests/css/vertical_align_top_span_a.html
Normal file
28
tests/wpt/mozilla/tests/css/vertical_align_top_span_a.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<link rel='match' href='vertical_align_top_span_ref.html'>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
color: yellow;
|
||||
}
|
||||
div {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
background-color: red;
|
||||
}
|
||||
.align {
|
||||
color: green;
|
||||
font-size: 20px;
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><span>X<span class="align">X</span></span></div>
|
||||
</body>
|
||||
</html>
|
38
tests/wpt/mozilla/tests/css/vertical_align_top_span_ref.html
Normal file
38
tests/wpt/mozilla/tests/css/vertical_align_top_span_ref.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.red {
|
||||
background-color: red;
|
||||
position: absolute;
|
||||
left: 100px;
|
||||
top: 120px;
|
||||
width: 20px;
|
||||
height: 80px;
|
||||
}
|
||||
.green {
|
||||
background-color: green;
|
||||
position: absolute;
|
||||
left: 100px;
|
||||
top: 100px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.yellow {
|
||||
background-color: yellow;
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="red"></div>
|
||||
<div class="green"></div>
|
||||
<div class="yellow"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue