Move text_align_justify_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:45:02 -04:00
parent a987b849a0
commit f32f38031c
4 changed files with 25 additions and 1 deletions

View file

@ -639,6 +639,18 @@
"url": "/_mozilla/css/text_align_complex_a.html"
}
],
"css/text_align_justify_a.html": [
{
"path": "css/text_align_justify_a.html",
"references": [
[
"/_mozilla/css/text_align_justify_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_align_justify_a.html"
}
],
"css/text_align_rtl.html": [
{
"path": "css/text_align_rtl.html",
@ -2336,6 +2348,18 @@
"url": "/_mozilla/css/text_align_complex_a.html"
}
],
"css/text_align_justify_a.html": [
{
"path": "css/text_align_justify_a.html",
"references": [
[
"/_mozilla/css/text_align_justify_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_align_justify_a.html"
}
],
"css/text_align_rtl.html": [
{
"path": "css/text_align_rtl.html",

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<link rel='match' href='text_align_justify_ref.html'>
<style>
p {
text-align: justify;
width: 135px;
font-size: 25px;
color: blue;
position: absolute;
top: 0;
left: 0;
margin: 0;
}
</style>
</head>
<body>
<p>X X X X X</p>
</body>
</html>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that basic `text-align: justify` works. -->
<style>
section {
background: blue;
position: absolute;
width: 25px;
height: 25px;
}
#a, #d {
left: 0;
}
#a, #b, #c {
top: 0;
}
#d, #e {
top: 25px;
}
#b {
left: 55px;
}
#c {
left: 110px;
}
#e {
left: 50px;
}
</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>