mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move text_indent_a.html to wpt reftests.
This commit is contained in:
parent
75244e6ba7
commit
7dc6fc94d5
4 changed files with 25 additions and 1 deletions
|
@ -639,6 +639,18 @@
|
|||
"url": "/_mozilla/css/text_align_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/text_indent_a.html": [
|
||||
{
|
||||
"path": "css/text_indent_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_indent_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_indent_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_basic_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_basic_a.html",
|
||||
|
@ -2312,6 +2324,18 @@
|
|||
"url": "/_mozilla/css/text_align_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/text_indent_a.html": [
|
||||
{
|
||||
"path": "css/text_indent_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_indent_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_indent_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_basic_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_basic_a.html",
|
||||
|
|
41
tests/wpt/mozilla/tests/css/text_indent_a.html
Normal file
41
tests/wpt/mozilla/tests/css/text_indent_a.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Tests that `text-indent` works, in particular when combined with `text-align`. -->
|
||||
<head>
|
||||
<link rel='match' href='text_indent_ref.html'>
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
section {
|
||||
color: blue;
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
#a {
|
||||
left: 0;
|
||||
top: 0;
|
||||
text-indent: 100px;
|
||||
}
|
||||
#b {
|
||||
left: 0;
|
||||
top: 200px;
|
||||
text-indent: 50%;
|
||||
}
|
||||
#b2 {
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
#c {
|
||||
left: 200px;
|
||||
top: 0;
|
||||
text-align: right;
|
||||
text-indent: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a>X X</section>
|
||||
<section id=b><section id=b2>X X</section></section>
|
||||
<section id=c>X X</section>
|
||||
</body>
|
||||
</html>
|
46
tests/wpt/mozilla/tests/css/text_indent_ref.html
Normal file
46
tests/wpt/mozilla/tests/css/text_indent_ref.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Tests that `text-indent` works, in particular when combined with `text-align`. -->
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
section {
|
||||
background: blue;
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
}
|
||||
#a {
|
||||
top: 0;
|
||||
left: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#b {
|
||||
top: 100px;
|
||||
left: 0;
|
||||
height: 100px;
|
||||
}
|
||||
#c {
|
||||
top: 200px;
|
||||
left: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#d {
|
||||
top: 300px;
|
||||
left: 0;
|
||||
height: 100px;
|
||||
}
|
||||
#e {
|
||||
top: 0;
|
||||
left: 300px;
|
||||
height: 200px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a></section>
|
||||
<section id=b></section>
|
||||
<section id=c></section>
|
||||
<section id=d></section>
|
||||
<section id=e></section>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue