mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Move vertical_align_text_top_a.html to wpt reftests.
This commit is contained in:
parent
c71d9cdd51
commit
a3d799e8c6
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_text_top_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_text_top_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical_align_text_top_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical_align_text_top_a.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_top_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_top_a.html",
|
||||
|
@ -1988,6 +2000,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_text_top_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_text_top_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical_align_text_top_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical_align_text_top_a.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_top_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_top_a.html",
|
||||
|
|
26
tests/wpt/mozilla/tests/css/vertical_align_text_top_a.html
Normal file
26
tests/wpt/mozilla/tests/css/vertical_align_text_top_a.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<link rel='match' href='vertical_align_text_top_ref.html'>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
div {
|
||||
color: blue;
|
||||
margin-top: 100px;
|
||||
}
|
||||
.align {
|
||||
font-size: 20px;
|
||||
color: red;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><span>X</span><span class="align">X</span></div>
|
||||
</body>
|
||||
</html>
|
29
tests/wpt/mozilla/tests/css/vertical_align_text_top_ref.html
Normal file
29
tests/wpt/mozilla/tests/css/vertical_align_text_top_ref.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.text {
|
||||
position: absolute;
|
||||
background-color: blue;
|
||||
top: 100px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.aligned {
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="text"></div>
|
||||
<div class="aligned"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue