Auto merge of #8050 - 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/8050)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-16 06:46:23 -06:00
commit ed7ddaa97a
18 changed files with 218 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
== block_image.html 500x300_green.html
!= block_image.html noteq_500x300_white.html
== block_replaced_content_a.html block_replaced_content_ref.html
== block_replaced_content_b.html block_replaced_content_ref.html
!= blur_a.html blur_ref.html
!= border_black_groove.html border_black_solid.html
!= border_black_ridge.html border_black_groove.html
!= border_black_ridge.html border_black_solid.html
== border_code_tag.html border_code_tag_ref.html
== border_collapse_missing_cell_a.html border_collapse_missing_cell_ref.html
== border_collapse_simple_a.html border_collapse_simple_ref.html
== border_radius_asymmetric_sizes_a.html border_radius_asymmetric_sizes_ref.html
== border_radius_clip_a.html border_radius_clip_ref.html

View file

@ -555,6 +555,110 @@
"url": "/_mozilla/css/block_formatting_context_with_margin_a.html"
}
],
"css/block_image.html": [
{
"path": "css/block_image.html",
"references": [
[
"/_mozilla/css/500x300_green.html",
"=="
],
[
"/_mozilla/css/noteq_500x300_white.html",
"!="
]
],
"url": "/_mozilla/css/block_image.html"
}
],
"css/block_replaced_content_a.html": [
{
"path": "css/block_replaced_content_a.html",
"references": [
[
"/_mozilla/css/block_replaced_content_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_replaced_content_a.html"
}
],
"css/block_replaced_content_b.html": [
{
"path": "css/block_replaced_content_b.html",
"references": [
[
"/_mozilla/css/block_replaced_content_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_replaced_content_b.html"
}
],
"css/blur_a.html": [
{
"path": "css/blur_a.html",
"references": [
[
"/_mozilla/css/blur_ref.html",
"!="
]
],
"url": "/_mozilla/css/blur_a.html"
}
],
"css/border_black_groove.html": [
{
"path": "css/border_black_groove.html",
"references": [
[
"/_mozilla/css/border_black_solid.html",
"!="
]
],
"url": "/_mozilla/css/border_black_groove.html"
}
],
"css/border_black_ridge.html": [
{
"path": "css/border_black_ridge.html",
"references": [
[
"/_mozilla/css/border_black_groove.html",
"!="
],
[
"/_mozilla/css/border_black_solid.html",
"!="
]
],
"url": "/_mozilla/css/border_black_ridge.html"
}
],
"css/border_code_tag.html": [
{
"path": "css/border_code_tag.html",
"references": [
[
"/_mozilla/css/border_code_tag_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_code_tag.html"
}
],
"css/border_collapse_missing_cell_a.html": [
{
"path": "css/border_collapse_missing_cell_a.html",
"references": [
[
"/_mozilla/css/border_collapse_missing_cell_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -2636,6 +2740,110 @@
"url": "/_mozilla/css/block_formatting_context_with_margin_a.html"
}
],
"css/block_image.html": [
{
"path": "css/block_image.html",
"references": [
[
"/_mozilla/css/500x300_green.html",
"=="
],
[
"/_mozilla/css/noteq_500x300_white.html",
"!="
]
],
"url": "/_mozilla/css/block_image.html"
}
],
"css/block_replaced_content_a.html": [
{
"path": "css/block_replaced_content_a.html",
"references": [
[
"/_mozilla/css/block_replaced_content_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_replaced_content_a.html"
}
],
"css/block_replaced_content_b.html": [
{
"path": "css/block_replaced_content_b.html",
"references": [
[
"/_mozilla/css/block_replaced_content_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_replaced_content_b.html"
}
],
"css/blur_a.html": [
{
"path": "css/blur_a.html",
"references": [
[
"/_mozilla/css/blur_ref.html",
"!="
]
],
"url": "/_mozilla/css/blur_a.html"
}
],
"css/border_black_groove.html": [
{
"path": "css/border_black_groove.html",
"references": [
[
"/_mozilla/css/border_black_solid.html",
"!="
]
],
"url": "/_mozilla/css/border_black_groove.html"
}
],
"css/border_black_ridge.html": [
{
"path": "css/border_black_ridge.html",
"references": [
[
"/_mozilla/css/border_black_groove.html",
"!="
],
[
"/_mozilla/css/border_black_solid.html",
"!="
]
],
"url": "/_mozilla/css/border_black_ridge.html"
}
],
"css/border_code_tag.html": [
{
"path": "css/border_code_tag.html",
"references": [
[
"/_mozilla/css/border_code_tag_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_code_tag.html"
}
],
"css/border_collapse_missing_cell_a.html": [
{
"path": "css/border_collapse_missing_cell_a.html",
"references": [
[
"/_mozilla/css/border_collapse_missing_cell_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1,4 +1,6 @@
<html>
<link rel=match href=500x300_green.html>
<link rel=mismatch href=noteq_500x300_white.html>
<body>
<img style="display: block; width: 500px; height: 300px; background-color: red;"
src="400x400_green.png">

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=block_replaced_content_ref.html>
<style>
body {
margin: 0;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=block_replaced_content_ref.html>
<style>
body {
margin: 0;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=mismatch href=blur_ref.html>
<style type="text/css">
div {
width: 200px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=mismatch href=border_black_solid.html>
<style>
.box {
width: 100px;

View file

@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<link rel=mismatch href=border_black_groove.html>
<link rel=mismatch href=border_black_solid.html>
<style>
.box {
width: 100px;

View file

@ -1,5 +1,6 @@
<html>
<head>
<link rel=match href=border_code_tag_ref.html>
<style>
code {
border: 2px solid #ccc;

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that missing cells don't cause a crash in border collapse code. -->
<link rel=match href=border_collapse_missing_cell_ref.html>
<style>
table {
border-collapse: collapse;