Move text_align_complex_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:28:42 -04:00
parent 53def3b3fd
commit dd2f59b2f5
4 changed files with 25 additions and 1 deletions

View file

@ -615,6 +615,18 @@
"url": "/_mozilla/css/table_specified_width_a.html"
}
],
"css/text_align_complex_a.html": [
{
"path": "css/text_align_complex_a.html",
"references": [
[
"/_mozilla/css/text_align_complex_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_align_complex_a.html"
}
],
"css/text_align_rtl.html": [
{
"path": "css/text_align_rtl.html",
@ -2240,6 +2252,18 @@
"url": "/_mozilla/css/table_specified_width_a.html"
}
],
"css/text_align_complex_a.html": [
{
"path": "css/text_align_complex_a.html",
"references": [
[
"/_mozilla/css/text_align_complex_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_align_complex_a.html"
}
],
"css/text_align_rtl.html": [
{
"path": "css/text_align_rtl.html",

View file

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='text_align_complex_ref.html'>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
* { margin: 0px !important; padding: 0px !important; }
div {
width: 100px;
font-size: 10px;
font-family: Ahem;
padding: 10px !important;
}
</style>
</head>
<body>
<section style="text-align: right; color: #f00;">
<div style="background: #fdd;"> xx xx xx xxxx</div>
<div style="background: #fdd;"> xx xx xx xxxxxxxxxxxxx</div>
<div style="background: #fdd;">xxxxxxxxxxxxx xx xx xx xxxx</div>
</section>
<section style="text-align: center; color: #0f0;">
<div style="background: #dfd;"> xx xx xx xxxx </div>
<div style="background: #dfd;"> xx xx xx xxxxxxxxxxxxx</div>
<div style="background: #dfd;">xxxxxxxxxxxxx xx xx xx xxxx </div>
</section>
<section style="text-align: justify; color: #00f;">
<div style="background: #ddf;">xx xx xx xxxx</div>
<div style="background: #ddf;">xx xx xx xxxxxxxxxxxxx</div>
<div style="background: #ddf;">xxxxxxxxxxxxx xx xx xx xxxx </div>
</section>
</body>
</html>

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
* { margin: 0px !important; padding: 0px !important; }
div {
width: 100px;
font-size: 10px;
font-family: Ahem;
padding: 10px !important;
}
section.reference { text-align: left !important; }
section.reference > div { white-space: pre; }
</style>
</head>
<body>
<section class="reference" style="text-align: right; color: #f00;">
<div style="background: #fdd;"> xx xx xx<br /> xxxx</div>
<div style="background: #fdd;"> xx xx xx<br />xxxxxxxxxxxxx</div>
<div style="background: #fdd;">xxxxxxxxxxxxx<br /> xx xx xx<br /> xxxx</div>
</section>
<section class="reference" style="text-align: center; color: #0f0;">
<div style="background: #dfd;"> xx xx xx <br /> xxxx </div>
<div style="background: #dfd;"> xx xx xx <br />xxxxxxxxxxxxx</div>
<div style="background: #dfd;">xxxxxxxxxxxxx<br /> xx xx xx <br /> xxxx </div>
</section>
<section class="reference" style="text-align: justify; color: #00f;">
<div style="background: #ddf;">xx xx xx<br />xxxx</div>
<div style="background: #ddf;">xx xx xx<br />xxxxxxxxxxxxx</div>
<div style="background: #ddf;">xxxxxxxxxxxxx<br />xx xx xx<br />xxxx </div>
</section>
</body>
</html>