Move text_indent_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:37:22 -04:00
parent 75244e6ba7
commit 7dc6fc94d5
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>