mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move vertical_align_super_a.html to wpt reftests.
This commit is contained in:
parent
18ae331f84
commit
bca2106a06
4 changed files with 25 additions and 1 deletions
|
@ -663,6 +663,18 @@
|
|||
"url": "/_mozilla/css/upper_id_attr.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_super_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_super_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical_align_super_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical_align_super_a.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_super_nested_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_super_nested_a.html",
|
||||
|
@ -2144,6 +2156,18 @@
|
|||
"url": "/_mozilla/css/upper_id_attr.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_super_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_super_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical_align_super_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical_align_super_a.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_super_nested_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_super_nested_a.html",
|
||||
|
|
26
tests/wpt/mozilla/tests/css/vertical_align_super_a.html
Normal file
26
tests/wpt/mozilla/tests/css/vertical_align_super_a.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='vertical_align_super_ref.html'>
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
div {
|
||||
color: blue;
|
||||
margin-top: 100px;
|
||||
}
|
||||
.align {
|
||||
color: red;
|
||||
font-size: 0.8em;
|
||||
vertical-align: super;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><span>X</span><span class="align">X</span></div>
|
||||
</body>
|
||||
</html>
|
29
tests/wpt/mozilla/tests/css/vertical_align_super_ref.html
Normal file
29
tests/wpt/mozilla/tests/css/vertical_align_super_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: 82px;
|
||||
left: 100px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="text"></div>
|
||||
<div class="aligned"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue