Auto merge of #7944 - 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/7944)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-09 17:51:11 -06:00
commit ea7b990e2d
23 changed files with 259 additions and 10 deletions

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
== attr_selector_case_sensitivity.html attr_selector_case_sensitivity_ref.html
== background_clip_a.html background_clip_ref.html
== background_external_stylesheet.html background_ref.html
== background_image_a.html background_image_ref.html
== background_image_position_a.html background_image_position_ref.html
== background_none_a.html background_none_b.html
== background_origin_a.html background_origin_ref.html
== background_position_a.html background_position_b.html
== background_position_keyword.html background_position_b.html
== background_position_percent.html background_position_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

View file

@ -183,6 +183,18 @@
"url": "/_mozilla/css/attr_exists_selector.html"
}
],
"css/attr_selector_case_sensitivity.html": [
{
"path": "css/attr_selector_case_sensitivity.html",
"references": [
[
"/_mozilla/css/attr_selector_case_sensitivity_ref.html",
"=="
]
],
"url": "/_mozilla/css/attr_selector_case_sensitivity.html"
}
],
"css/background.html": [
{
"path": "css/background.html",
@ -195,6 +207,114 @@
"url": "/_mozilla/css/background.html"
}
],
"css/background_clip_a.html": [
{
"path": "css/background_clip_a.html",
"references": [
[
"/_mozilla/css/background_clip_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_clip_a.html"
}
],
"css/background_external_stylesheet.html": [
{
"path": "css/background_external_stylesheet.html",
"references": [
[
"/_mozilla/css/background_rust_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_external_stylesheet.html"
}
],
"css/background_image_a.html": [
{
"path": "css/background_image_a.html",
"references": [
[
"/_mozilla/css/background_image_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_image_a.html"
}
],
"css/background_image_position_a.html": [
{
"path": "css/background_image_position_a.html",
"references": [
[
"/_mozilla/css/background_image_position_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_image_position_a.html"
}
],
"css/background_none_a.html": [
{
"path": "css/background_none_a.html",
"references": [
[
"/_mozilla/css/background_none_b.html",
"=="
]
],
"url": "/_mozilla/css/background_none_a.html"
}
],
"css/background_origin_a.html": [
{
"path": "css/background_origin_a.html",
"references": [
[
"/_mozilla/css/background_origin_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_origin_a.html"
}
],
"css/background_position_a.html": [
{
"path": "css/background_position_a.html",
"references": [
[
"/_mozilla/css/background_position_b.html",
"=="
]
],
"url": "/_mozilla/css/background_position_a.html"
}
],
"css/background_position_keyword.html": [
{
"path": "css/background_position_keyword.html",
"references": [
[
"/_mozilla/css/background_position_b.html",
"=="
]
],
"url": "/_mozilla/css/background_position_keyword.html"
}
],
"css/background_position_percent.html": [
{
"path": "css/background_position_percent.html",
"references": [
[
"/_mozilla/css/background_position_b.html",
"=="
]
],
"url": "/_mozilla/css/background_position_percent.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -1160,6 +1280,18 @@
"url": "/_mozilla/css/attr_exists_selector.html"
}
],
"css/attr_selector_case_sensitivity.html": [
{
"path": "css/attr_selector_case_sensitivity.html",
"references": [
[
"/_mozilla/css/attr_selector_case_sensitivity_ref.html",
"=="
]
],
"url": "/_mozilla/css/attr_selector_case_sensitivity.html"
}
],
"css/background.html": [
{
"path": "css/background.html",
@ -1172,6 +1304,114 @@
"url": "/_mozilla/css/background.html"
}
],
"css/background_clip_a.html": [
{
"path": "css/background_clip_a.html",
"references": [
[
"/_mozilla/css/background_clip_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_clip_a.html"
}
],
"css/background_external_stylesheet.html": [
{
"path": "css/background_external_stylesheet.html",
"references": [
[
"/_mozilla/css/background_rust_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_external_stylesheet.html"
}
],
"css/background_image_a.html": [
{
"path": "css/background_image_a.html",
"references": [
[
"/_mozilla/css/background_image_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_image_a.html"
}
],
"css/background_image_position_a.html": [
{
"path": "css/background_image_position_a.html",
"references": [
[
"/_mozilla/css/background_image_position_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_image_position_a.html"
}
],
"css/background_none_a.html": [
{
"path": "css/background_none_a.html",
"references": [
[
"/_mozilla/css/background_none_b.html",
"=="
]
],
"url": "/_mozilla/css/background_none_a.html"
}
],
"css/background_origin_a.html": [
{
"path": "css/background_origin_a.html",
"references": [
[
"/_mozilla/css/background_origin_ref.html",
"=="
]
],
"url": "/_mozilla/css/background_origin_a.html"
}
],
"css/background_position_a.html": [
{
"path": "css/background_position_a.html",
"references": [
[
"/_mozilla/css/background_position_b.html",
"=="
]
],
"url": "/_mozilla/css/background_position_a.html"
}
],
"css/background_position_keyword.html": [
{
"path": "css/background_position_keyword.html",
"references": [
[
"/_mozilla/css/background_position_b.html",
"=="
]
],
"url": "/_mozilla/css/background_position_keyword.html"
}
],
"css/background_position_percent.html": [
{
"path": "css/background_position_percent.html",
"references": [
[
"/_mozilla/css/background_position_b.html",
"=="
]
],
"url": "/_mozilla/css/background_position_percent.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>Attribute selector case-sensitivity: [foo=bar] and [foo=bar i]</title>
<link rel=match href=attr_selector_case_sensitivity_ref.html>
<style>
p[data-foo=Bar] { color: green }
p[data-foo=bar] { color: red }

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=background_clip_ref.html>
<style>
div {
background: green;

View file

@ -3,6 +3,7 @@
<head>
<title></title>
<link rel="stylesheet" href="subdirectory/background_image.css">
<link rel=match href=background_rust_ref.html>
</head>
<body>
<div class="test" style="width:206px; height:206px;"></div>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=background_image_ref.html>
<style>
div {
background-image: url("test.jpeg");

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=background_image_position_ref.html>
<style type="text/css">
body {
font-family: 'ahem';

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>background: none test</title>
<link rel=match href=background_none_b.html>
<style>
#a {
background: red;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=background_origin_ref.html>
<style>
#foo1 {
background: url(400x400_green.png);

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
<link rel=match href=background_position_b.html>
<style>
#foo {
background: url(400x400_green.png);

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
<link rel=match href=background_position_b.html>
<style>
#foo {
background: url(400x400_green.png);

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
<link rel=match href=background_position_b.html>
<style>
#foo {
background: url(400x400_green.png);

View file

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

View file

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 135 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB