Auto merge of #7980 - Ms2ger:test-ref, r=jdm

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/7980)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-12 08:53:13 -06:00
commit 3ad57be632
22 changed files with 250 additions and 19 deletions

View file

@ -1,9 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<img class="test" src="rust-0.png" style="width:206px; height:206px;" />
</body>
</html>

View file

@ -12,16 +12,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
== acid1_a.html acid1_b.html
== acid2_noscroll.html acid2_ref_broken.html
flaky_cpu == append_style_a.html append_style_b.html
== background_position_shorthand.html background_position_shorthand_ref.html
== background_repeat_both_a.html background_repeat_both_b.html
== background_repeat_none_a.html background_repeat_none_b.html
== background_repeat_x_a.html background_repeat_x_b.html
== background_repeat_y_a.html background_repeat_y_b.html
== background_size_a.html background_size_ref.html
== background_size_shorthand_a.html background_size_shorthand_ref.html
== background_size_zero_a.html background_size_zero_ref.html
== background_style_attr.html background_ref.html
== basic_width_px.html basic_width_em.html
== block_formatting_context_a.html block_formatting_context_ref.html
== block_formatting_context_cleared_float_a.html block_formatting_context_cleared_float_ref.html
== block_formatting_context_complex_a.html block_formatting_context_complex_ref.html

View file

@ -315,6 +315,126 @@
"url": "/_mozilla/css/background_position_percent.html"
}
],
"css/background_position_shorthand.html": [
{
"path": "css/background_position_shorthand.html",
"references": [
[
"/_mozilla/css/background_position_shorthand_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_position_shorthand.html"
}
],
"css/background_repeat_both_a.html": [
{
"path": "css/background_repeat_both_a.html",
"references": [
[
"/_mozilla/css/background_repeat_both_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_both_a.html"
}
],
"css/background_repeat_none_a.html": [
{
"path": "css/background_repeat_none_a.html",
"references": [
[
"/_mozilla/css/background_repeat_none_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_none_a.html"
}
],
"css/background_repeat_x_a.html": [
{
"path": "css/background_repeat_x_a.html",
"references": [
[
"/_mozilla/css/background_repeat_x_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_x_a.html"
}
],
"css/background_repeat_y_a.html": [
{
"path": "css/background_repeat_y_a.html",
"references": [
[
"/_mozilla/css/background_repeat_y_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_y_a.html"
}
],
"css/background_size_a.html": [
{
"path": "css/background_size_a.html",
"references": [
[
"/_mozilla/css/background_size_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_size_a.html"
}
],
"css/background_size_shorthand_a.html": [
{
"path": "css/background_size_shorthand_a.html",
"references": [
[
"/_mozilla/css/background_size_shorthand_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_size_shorthand_a.html"
}
],
"css/background_size_zero_a.html": [
{
"path": "css/background_size_zero_a.html",
"references": [
[
"/_mozilla/css/background_size_zero_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_size_zero_a.html"
}
],
"css/background_style_attr.html": [
{
"path": "css/background_style_attr.html",
"references": [
[
"/_mozilla/css/background_rust_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_style_attr.html"
}
],
"css/basic_width_px.html": [
{
"path": "css/basic_width_px.html",
"references": [
[
"/_mozilla/css/basic_width_em.html",
"=="
]
],
"url": "/_mozilla/css/basic_width_px.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -1412,6 +1532,126 @@
"url": "/_mozilla/css/background_position_percent.html"
}
],
"css/background_position_shorthand.html": [
{
"path": "css/background_position_shorthand.html",
"references": [
[
"/_mozilla/css/background_position_shorthand_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_position_shorthand.html"
}
],
"css/background_repeat_both_a.html": [
{
"path": "css/background_repeat_both_a.html",
"references": [
[
"/_mozilla/css/background_repeat_both_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_both_a.html"
}
],
"css/background_repeat_none_a.html": [
{
"path": "css/background_repeat_none_a.html",
"references": [
[
"/_mozilla/css/background_repeat_none_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_none_a.html"
}
],
"css/background_repeat_x_a.html": [
{
"path": "css/background_repeat_x_a.html",
"references": [
[
"/_mozilla/css/background_repeat_x_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_x_a.html"
}
],
"css/background_repeat_y_a.html": [
{
"path": "css/background_repeat_y_a.html",
"references": [
[
"/_mozilla/css/background_repeat_y_b.html",
"=="
]
],
"url": "/_mozilla/css/background_repeat_y_a.html"
}
],
"css/background_size_a.html": [
{
"path": "css/background_size_a.html",
"references": [
[
"/_mozilla/css/background_size_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_size_a.html"
}
],
"css/background_size_shorthand_a.html": [
{
"path": "css/background_size_shorthand_a.html",
"references": [
[
"/_mozilla/css/background_size_shorthand_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_size_shorthand_a.html"
}
],
"css/background_size_zero_a.html": [
{
"path": "css/background_size_zero_a.html",
"references": [
[
"/_mozilla/css/background_size_zero_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_size_zero_a.html"
}
],
"css/background_style_attr.html": [
{
"path": "css/background_style_attr.html",
"references": [
[
"/_mozilla/css/background_rust_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_style_attr.html"
}
],
"css/basic_width_px.html": [
{
"path": "css/basic_width_px.html",
"references": [
[
"/_mozilla/css/basic_width_em.html",
"=="
]
],
"url": "/_mozilla/css/basic_width_px.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>background shorthand test</title>
<link rel=match href=background_position_shorthand_ref.html>
<style>
div {
float: left; /* So all the divs are visible in the test viewport */

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled XIXAXA XOXAXA XUXAXA.</title>
<link rel=match href=background_repeat_both_b.html>
<style>
div {
width: 412px;

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled XIXAXA XOXAXA XUXAXA.</title>
<link rel=match href=background_repeat_none_b.html>
<style>
div {
width: 400px;

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled XIXAXA XOXAXA XUXAXA.</title>
<link rel=match href=background_repeat_x_b.html>
<style>
div {
width: 412px;

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled XIXAXA XOXAXA XUXAXA.</title>
<link rel=match href=background_repeat_y_b.html>
<style>
div {
width: 412px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=background_size_ref.html>
<style>
section {
position: absolute;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=background_size_shorthand_ref.html>
<!-- Tests that the `background-size` shorthand works. -->
<style>
section {

View file

@ -1,4 +1,5 @@
<!DOCTYPE html>
<link rel=match href=background_size_zero_ref.html>
<style>
body {
background-image: url(400x400_green.png);

View file

@ -2,6 +2,7 @@
<html>
<head>
<title></title>
<link rel=match href=background_rust_ref.html>
</head>
<body>
<div class="test" style="background: url(rust-0.png); width:206px; height:206px;"></div>

View file

@ -1,5 +1,6 @@
<html>
<head>
<link rel=match href=basic_width_em.html>
<style>
html {
font-size: 20px;