Auto merge of #8452 - Ms2ger:test-ref, r=frewsxcv

Use wptrunner for some old-style reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8452)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-10 19:27:18 +05:30
commit fb00e6143f
22 changed files with 275 additions and 15 deletions

View file

@ -1763,6 +1763,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
}
],
"css/inline_background_a.html": [
{
"path": "css/inline_background_a.html",
"references": [
[
"/_mozilla/css/inline_background_ref.html",
"!="
]
],
"url": "/_mozilla/css/inline_background_a.html"
}
],
"css/inline_block_baseline_a.html": [
{
"path": "css/inline_block_baseline_a.html",
@ -1835,6 +1847,18 @@
"url": "/_mozilla/css/inline_block_margin_a.html"
}
],
"css/inline_block_margin_auto_a.html": [
{
"path": "css/inline_block_margin_auto_a.html",
"references": [
[
"/_mozilla/css/inline_block_margin_auto_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_margin_auto_a.html"
}
],
"css/inline_block_margin_auto_zero_a.html": [
{
"path": "css/inline_block_margin_auto_zero_a.html",
@ -1895,6 +1919,30 @@
"url": "/_mozilla/css/inline_block_parent_padding_a.html"
}
],
"css/inline_block_parent_width.html": [
{
"path": "css/inline_block_parent_width.html",
"references": [
[
"/_mozilla/css/inline_block_parent_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_parent_width.html"
}
],
"css/inline_block_parent_width_percentage.html": [
{
"path": "css/inline_block_parent_width_percentage.html",
"references": [
[
"/_mozilla/css/inline_block_parent_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_parent_width_percentage.html"
}
],
"css/inline_block_percentage_height_a.html": [
{
"path": "css/inline_block_percentage_height_a.html",
@ -2027,6 +2075,30 @@
"url": "/_mozilla/css/inline_text_align_a.html"
}
],
"css/inline_whitespace_a.html": [
{
"path": "css/inline_whitespace_a.html",
"references": [
[
"/_mozilla/css/inline_whitespace_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_whitespace_a.html"
}
],
"css/inline_whitespace_b.html": [
{
"path": "css/inline_whitespace_b.html",
"references": [
[
"/_mozilla/css/inline_whitespace_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_whitespace_b.html"
}
],
"css/input_button_margins_a.html": [
{
"path": "css/input_button_margins_a.html",
@ -2051,6 +2123,18 @@
"url": "/_mozilla/css/input_button_size_a.html"
}
],
"css/input_height_a.html": [
{
"path": "css/input_height_a.html",
"references": [
[
"/_mozilla/css/input_height_ref.html",
"!="
]
],
"url": "/_mozilla/css/input_height_a.html"
}
],
"css/inset.html": [
{
"path": "css/inset.html",
@ -2063,6 +2147,18 @@
"url": "/_mozilla/css/inset.html"
}
],
"css/inset_blackborder.html": [
{
"path": "css/inset_blackborder.html",
"references": [
[
"/_mozilla/css/blackborder_ref.html",
"!="
]
],
"url": "/_mozilla/css/inset_blackborder.html"
}
],
"css/issue-1324.html": [
{
"path": "css/issue-1324.html",
@ -2075,6 +2171,30 @@
"url": "/_mozilla/css/issue-1324.html"
}
],
"css/jpeg_normal.html": [
{
"path": "css/jpeg_normal.html",
"references": [
[
"/_mozilla/css/jpeg_ref.html",
"=="
]
],
"url": "/_mozilla/css/jpeg_normal.html"
}
],
"css/jpeg_progressive.html": [
{
"path": "css/jpeg_progressive.html",
"references": [
[
"/_mozilla/css/jpeg_ref.html",
"=="
]
],
"url": "/_mozilla/css/jpeg_progressive.html"
}
],
"css/jumpiness_a.html": [
{
"path": "css/jumpiness_a.html",
@ -2675,6 +2795,18 @@
"url": "/_mozilla/css/outset.html"
}
],
"css/outset_blackborder.html": [
{
"path": "css/outset_blackborder.html",
"references": [
[
"/_mozilla/css/blackborder_ref.html",
"!="
]
],
"url": "/_mozilla/css/outset_blackborder.html"
}
],
"css/overflow_auto_stacking_order_a.html": [
{
"path": "css/overflow_auto_stacking_order_a.html",
@ -6696,6 +6828,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
}
],
"css/inline_background_a.html": [
{
"path": "css/inline_background_a.html",
"references": [
[
"/_mozilla/css/inline_background_ref.html",
"!="
]
],
"url": "/_mozilla/css/inline_background_a.html"
}
],
"css/inline_block_baseline_a.html": [
{
"path": "css/inline_block_baseline_a.html",
@ -6768,6 +6912,18 @@
"url": "/_mozilla/css/inline_block_margin_a.html"
}
],
"css/inline_block_margin_auto_a.html": [
{
"path": "css/inline_block_margin_auto_a.html",
"references": [
[
"/_mozilla/css/inline_block_margin_auto_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_margin_auto_a.html"
}
],
"css/inline_block_margin_auto_zero_a.html": [
{
"path": "css/inline_block_margin_auto_zero_a.html",
@ -6828,6 +6984,30 @@
"url": "/_mozilla/css/inline_block_parent_padding_a.html"
}
],
"css/inline_block_parent_width.html": [
{
"path": "css/inline_block_parent_width.html",
"references": [
[
"/_mozilla/css/inline_block_parent_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_parent_width.html"
}
],
"css/inline_block_parent_width_percentage.html": [
{
"path": "css/inline_block_parent_width_percentage.html",
"references": [
[
"/_mozilla/css/inline_block_parent_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_parent_width_percentage.html"
}
],
"css/inline_block_percentage_height_a.html": [
{
"path": "css/inline_block_percentage_height_a.html",
@ -6960,6 +7140,30 @@
"url": "/_mozilla/css/inline_text_align_a.html"
}
],
"css/inline_whitespace_a.html": [
{
"path": "css/inline_whitespace_a.html",
"references": [
[
"/_mozilla/css/inline_whitespace_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_whitespace_a.html"
}
],
"css/inline_whitespace_b.html": [
{
"path": "css/inline_whitespace_b.html",
"references": [
[
"/_mozilla/css/inline_whitespace_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_whitespace_b.html"
}
],
"css/input_button_margins_a.html": [
{
"path": "css/input_button_margins_a.html",
@ -6984,6 +7188,18 @@
"url": "/_mozilla/css/input_button_size_a.html"
}
],
"css/input_height_a.html": [
{
"path": "css/input_height_a.html",
"references": [
[
"/_mozilla/css/input_height_ref.html",
"!="
]
],
"url": "/_mozilla/css/input_height_a.html"
}
],
"css/inset.html": [
{
"path": "css/inset.html",
@ -6996,6 +7212,18 @@
"url": "/_mozilla/css/inset.html"
}
],
"css/inset_blackborder.html": [
{
"path": "css/inset_blackborder.html",
"references": [
[
"/_mozilla/css/blackborder_ref.html",
"!="
]
],
"url": "/_mozilla/css/inset_blackborder.html"
}
],
"css/issue-1324.html": [
{
"path": "css/issue-1324.html",
@ -7008,6 +7236,30 @@
"url": "/_mozilla/css/issue-1324.html"
}
],
"css/jpeg_normal.html": [
{
"path": "css/jpeg_normal.html",
"references": [
[
"/_mozilla/css/jpeg_ref.html",
"=="
]
],
"url": "/_mozilla/css/jpeg_normal.html"
}
],
"css/jpeg_progressive.html": [
{
"path": "css/jpeg_progressive.html",
"references": [
[
"/_mozilla/css/jpeg_ref.html",
"=="
]
],
"url": "/_mozilla/css/jpeg_progressive.html"
}
],
"css/jumpiness_a.html": [
{
"path": "css/jumpiness_a.html",
@ -7608,6 +7860,18 @@
"url": "/_mozilla/css/outset.html"
}
],
"css/outset_blackborder.html": [
{
"path": "css/outset_blackborder.html",
"references": [
[
"/_mozilla/css/blackborder_ref.html",
"!="
]
],
"url": "/_mozilla/css/outset_blackborder.html"
}
],
"css/overflow_auto_stacking_order_a.html": [
{
"path": "css/overflow_auto_stacking_order_a.html",

View file

@ -0,0 +1,20 @@
<html>
<style>
body {
margin: 0px;
}
.box {
width: 100px;
height: 100px;
margin: 0px;
border-width: 10px;
border-style: solid;
}
</style>
<body>
<div class="box"></div>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel=mismatch href=inline_background_ref.html>
<style type="text/css">
.white {
color: white;
}
.bggreen {
background-color: green;
}
body {
margin: 0;
}
</style>
</head>
<body><span class="bggreen white">White text on a green background</span></body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
.white {
color: white;
}
body {
margin: 0;
}
</style>
</head>
<body><span class="white">White text on a green background</span></body>
</html>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<link rel=match href=inline_block_margin_auto_ref.html>
<style>
html, body {
margin: 0;
}
#a {
display: block;
background: lime;
text-align: center;
width: 96px;
}
#b {
background: gold;
display: inline-block;
margin: 0 auto;
padding: 16px 16px;
}
</style>
<div id=a><div id=b></div>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<style>
html, body {
margin: 0;
}
#a {
display: block;
background: lime;
text-align: center;
width: 96px;
}
#b {
background: gold;
display: inline-block;
margin: 0 32px 0 32px;
padding: 16px 16px;
}
</style>
<div id=a><div id=b></div>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<link rel=match href=inline_block_parent_width_ref.html>
<body>
<div style="display: block; width: 300px;">
<div style="display: inline-block">
Bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<link rel=match href=inline_block_parent_width_ref.html>
<body>
<div style="display: block; width: 600px;">
<div style="width: 50%; display: inline-block;">
Bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<body>
<div style="display: block; width: 300px; height: 8em;">
<div style="display: inline-block; width: 300px;">
Bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
bloobity bloobity bloobity bloobity
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<link rel=match href=inline_whitespace_ref.html>
<style type="text/css">
body {
background-color: #f6f6f6;
}
</style>
</head>
<body>
<span>A</span> <span>B</span>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<link rel=match href=inline_whitespace_ref.html>
<style type="text/css">
body {
background-color: #f6f6f6;
}
</style>
</head>
<body>
<span>A</span>
<span>B</span>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style type="text/css">
body {
background-color: #f6f6f6;
}
</style>
</head>
<body>
<span>A B</span>
</body>
</html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<link rel=mismatch href=input_height_ref.html>
<body>
<!-- We assume that inputs are not 100px high on any platform, since that would be absurd -->
<input type=text style="height: 100px;"></input>
</body>
</html>

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<body>
<input type=text></input>
</body>
</html>

View file

@ -0,0 +1,21 @@
<html>
<link rel=mismatch href=blackborder_ref.html>
<style>
body {
margin: 0px;
}
.box {
width: 100px;
height: 100px;
margin: 0px;
border-width: 10px;
}
.inset { border-style: inset; }
</style>
<body>
<div class="box inset"></div>
</body>
</html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=jpeg_ref.html>
</head>
<body>
<img src="jpeg_normal.jpg">
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=jpeg_ref.html>
</head>
<body>
<img src="jpeg_progressive.jpg">
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
div {
background-color: rgb(75, 255, 0);
width: 64px;
height: 64px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>

View file

@ -0,0 +1,21 @@
<html>
<link rel=mismatch href=blackborder_ref.html>
<style>
body {
margin: 0px;
}
.box {
width: 100px;
height: 100px;
margin: 0px;
border-width: 10px;
}
.outset { border-style: outset; }
</style>
<body>
<div class="box outset"></div>
</body>
</html>