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

@ -34,17 +34,7 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== iframe/stacking_context.html iframe/stacking_context_ref.html == iframe/stacking_context.html iframe/stacking_context_ref.html
== iframe/stacking_context_position_a.html iframe/stacking_context_position_ref.html == iframe/stacking_context_position_a.html iframe/stacking_context_position_ref.html
!= inline_background_a.html inline_background_ref.html
== inline_block_margin_auto_a.html inline_block_margin_auto_ref.html
== inline_block_parent_width.html inline_block_parent_width_ref.html
== inline_block_parent_width_percentage.html inline_block_parent_width_ref.html
# inline_border_a.html inline_border_b.html # inline_border_a.html inline_border_b.html
== inline_whitespace_a.html inline_whitespace_ref.html
== inline_whitespace_b.html inline_whitespace_ref.html
!= input_height_a.html input_height_ref.html
!= inset_blackborder.html blackborder_ref.html
== jpeg_normal.html jpeg_ref.html
== jpeg_progressive.html jpeg_ref.html
== legacy_cellspacing_attribute_a.html border_spacing_ref.html == legacy_cellspacing_attribute_a.html border_spacing_ref.html
== legacy_td_width_attribute_a.html legacy_td_width_attribute_ref.html == legacy_td_width_attribute_a.html legacy_td_width_attribute_ref.html
== legacy_th_width_attribute_a.html legacy_td_width_attribute_ref.html == legacy_th_width_attribute_a.html legacy_td_width_attribute_ref.html
@ -62,7 +52,6 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
!= octicons_a.html octicons_ref.html != octicons_a.html octicons_ref.html
== ol_japanese_iroha_a.html ol_japanese_iroha_ref.html == ol_japanese_iroha_a.html ol_japanese_iroha_ref.html
!= ol_japanese_iroha_bullet_styles.html ol_japanese_iroha_ref.html != ol_japanese_iroha_bullet_styles.html ol_japanese_iroha_ref.html
!= outset_blackborder.html blackborder_ref.html
# Should be == with expected failure. See #2797 # Should be == with expected failure. See #2797
!= overconstrained_block.html overconstrained_block_ref.html != overconstrained_block.html overconstrained_block_ref.html
== overflow_auto.html overflow_simple_b.html == overflow_auto.html overflow_simple_b.html

View file

@ -1763,6 +1763,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html" "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": [ "css/inline_block_baseline_a.html": [
{ {
"path": "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" "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": [ "css/inline_block_margin_auto_zero_a.html": [
{ {
"path": "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" "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": [ "css/inline_block_percentage_height_a.html": [
{ {
"path": "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" "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": [ "css/input_button_margins_a.html": [
{ {
"path": "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" "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": [ "css/inset.html": [
{ {
"path": "css/inset.html", "path": "css/inset.html",
@ -2063,6 +2147,18 @@
"url": "/_mozilla/css/inset.html" "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": [ "css/issue-1324.html": [
{ {
"path": "css/issue-1324.html", "path": "css/issue-1324.html",
@ -2075,6 +2171,30 @@
"url": "/_mozilla/css/issue-1324.html" "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": [ "css/jumpiness_a.html": [
{ {
"path": "css/jumpiness_a.html", "path": "css/jumpiness_a.html",
@ -2675,6 +2795,18 @@
"url": "/_mozilla/css/outset.html" "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": [ "css/overflow_auto_stacking_order_a.html": [
{ {
"path": "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" "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": [ "css/inline_block_baseline_a.html": [
{ {
"path": "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" "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": [ "css/inline_block_margin_auto_zero_a.html": [
{ {
"path": "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" "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": [ "css/inline_block_percentage_height_a.html": [
{ {
"path": "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" "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": [ "css/input_button_margins_a.html": [
{ {
"path": "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" "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": [ "css/inset.html": [
{ {
"path": "css/inset.html", "path": "css/inset.html",
@ -6996,6 +7212,18 @@
"url": "/_mozilla/css/inset.html" "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": [ "css/issue-1324.html": [
{ {
"path": "css/issue-1324.html", "path": "css/issue-1324.html",
@ -7008,6 +7236,30 @@
"url": "/_mozilla/css/issue-1324.html" "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": [ "css/jumpiness_a.html": [
{ {
"path": "css/jumpiness_a.html", "path": "css/jumpiness_a.html",
@ -7608,6 +7860,18 @@
"url": "/_mozilla/css/outset.html" "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": [ "css/overflow_auto_stacking_order_a.html": [
{ {
"path": "css/overflow_auto_stacking_order_a.html", "path": "css/overflow_auto_stacking_order_a.html",

View file

@ -1,6 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<link rel=mismatch href=inline_background_ref.html>
<style type="text/css"> <style type="text/css">
.white { .white {
color: white; color: white;

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel=match href=inline_block_margin_auto_ref.html>
<style> <style>
html, body { html, body {
margin: 0; margin: 0;

View file

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

View file

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

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="css/ahem.css"> <link rel="stylesheet" type="text/css" href="css/ahem.css">
<link rel=match href=inline_whitespace_ref.html>
<style type="text/css"> <style type="text/css">
body { body {
background-color: #f6f6f6; background-color: #f6f6f6;

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="css/ahem.css"> <link rel="stylesheet" type="text/css" href="css/ahem.css">
<link rel=match href=inline_whitespace_ref.html>
<style type="text/css"> <style type="text/css">
body { body {
background-color: #f6f6f6; background-color: #f6f6f6;

View file

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

View file

@ -1,4 +1,5 @@
<html> <html>
<link rel=mismatch href=blackborder_ref.html>
<style> <style>
body { body {
margin: 0px; margin: 0px;

View file

@ -1,8 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<style type="text/css"> <link rel=match href=jpeg_ref.html>
</style>
</head> </head>
<body> <body>
<img src="jpeg_normal.jpg"> <img src="jpeg_normal.jpg">

View file

Before

Width:  |  Height:  |  Size: 336 B

After

Width:  |  Height:  |  Size: 336 B

Before After
Before After

View file

@ -1,8 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<style type="text/css"> <link rel=match href=jpeg_ref.html>
</style>
</head> </head>
<body> <body>
<img src="jpeg_progressive.jpg"> <img src="jpeg_progressive.jpg">

View file

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 570 B

Before After
Before After

View file

@ -1,4 +1,5 @@
<html> <html>
<link rel=mismatch href=blackborder_ref.html>
<style> <style>
body { body {
margin: 0px; margin: 0px;