Auto merge of #8514 - Ms2ger:test-ref, r=Manishearth

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/8514)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-13 22:31:18 +05:30
commit 9bcaedde82
13 changed files with 150 additions and 45 deletions

View file

@ -35,12 +35,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== iframe/stacking_context_position_a.html iframe/stacking_context_position_ref.html
# inline_border_a.html inline_border_b.html
== legacy_cellspacing_attribute_a.html border_spacing_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
== line_height_a.html line_height_ref.html
!= linear_gradients_corners_a.html linear_gradients_corners_ref.html
!= linear_gradients_smoke_a.html linear_gradients_smoke_ref.html
flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
# Fails intermittently (#3636)
# == link_style_dynamic_addition.html link_style_dynamic_addition_ref.html

View file

@ -1,39 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `border-spacing` works. -->
<style>
div {
background: blue;
position: absolute;
height: 32px;
}
#a, #c {
width: 32px;
}
#b, #d {
width: 64px;
}
#a, #b {
top: 6px;
}
#c, #d {
top: 44px;
}
#a, #c {
left: 6px;
}
#b, #d {
left: 44px;
}
</style>
</head>
<body>
<div id=a></div>
<div id=b></div>
<div id=c></div>
<div id=d></div>
</body>
</html>

View file

@ -2271,6 +2271,18 @@
"url": "/_mozilla/css/layerization_z_order_a.html"
}
],
"css/legacy_cellspacing_attribute_a.html": [
{
"path": "css/legacy_cellspacing_attribute_a.html",
"references": [
[
"/_mozilla/css/border_spacing_ref.html",
"=="
]
],
"url": "/_mozilla/css/legacy_cellspacing_attribute_a.html"
}
],
"css/legacy_input_size_attribute_override_a.html": [
{
"path": "css/legacy_input_size_attribute_override_a.html",
@ -2307,6 +2319,30 @@
"url": "/_mozilla/css/legacy_td_bgcolor_attribute_a.html"
}
],
"css/legacy_td_width_attribute_a.html": [
{
"path": "css/legacy_td_width_attribute_a.html",
"references": [
[
"/_mozilla/css/legacy_td_width_attribute_ref.html",
"=="
]
],
"url": "/_mozilla/css/legacy_td_width_attribute_a.html"
}
],
"css/legacy_th_width_attribute_a.html": [
{
"path": "css/legacy_th_width_attribute_a.html",
"references": [
[
"/_mozilla/css/legacy_td_width_attribute_ref.html",
"=="
]
],
"url": "/_mozilla/css/legacy_th_width_attribute_a.html"
}
],
"css/letter_spacing_a.html": [
{
"path": "css/letter_spacing_a.html",
@ -2343,6 +2379,18 @@
"url": "/_mozilla/css/line_breaking_whitespace_collapse_a.html"
}
],
"css/line_height_a.html": [
{
"path": "css/line_height_a.html",
"references": [
[
"/_mozilla/css/line_height_ref.html",
"=="
]
],
"url": "/_mozilla/css/line_height_a.html"
}
],
"css/line_height_float_placement_a.html": [
{
"path": "css/line_height_float_placement_a.html",
@ -2355,6 +2403,18 @@
"url": "/_mozilla/css/line_height_float_placement_a.html"
}
],
"css/linear_gradients_corners_a.html": [
{
"path": "css/linear_gradients_corners_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_corners_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_corners_a.html"
}
],
"css/linear_gradients_lengths_a.html": [
{
"path": "css/linear_gradients_lengths_a.html",
@ -2391,6 +2451,18 @@
"url": "/_mozilla/css/linear_gradients_reverse_a.html"
}
],
"css/linear_gradients_smoke_a.html": [
{
"path": "css/linear_gradients_smoke_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_smoke_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_smoke_a.html"
}
],
"css/linebreak_inline_span_a.html": [
{
"path": "css/linebreak_inline_span_a.html",
@ -7378,6 +7450,18 @@
"url": "/_mozilla/css/layerization_z_order_a.html"
}
],
"css/legacy_cellspacing_attribute_a.html": [
{
"path": "css/legacy_cellspacing_attribute_a.html",
"references": [
[
"/_mozilla/css/border_spacing_ref.html",
"=="
]
],
"url": "/_mozilla/css/legacy_cellspacing_attribute_a.html"
}
],
"css/legacy_input_size_attribute_override_a.html": [
{
"path": "css/legacy_input_size_attribute_override_a.html",
@ -7414,6 +7498,30 @@
"url": "/_mozilla/css/legacy_td_bgcolor_attribute_a.html"
}
],
"css/legacy_td_width_attribute_a.html": [
{
"path": "css/legacy_td_width_attribute_a.html",
"references": [
[
"/_mozilla/css/legacy_td_width_attribute_ref.html",
"=="
]
],
"url": "/_mozilla/css/legacy_td_width_attribute_a.html"
}
],
"css/legacy_th_width_attribute_a.html": [
{
"path": "css/legacy_th_width_attribute_a.html",
"references": [
[
"/_mozilla/css/legacy_td_width_attribute_ref.html",
"=="
]
],
"url": "/_mozilla/css/legacy_th_width_attribute_a.html"
}
],
"css/letter_spacing_a.html": [
{
"path": "css/letter_spacing_a.html",
@ -7450,6 +7558,18 @@
"url": "/_mozilla/css/line_breaking_whitespace_collapse_a.html"
}
],
"css/line_height_a.html": [
{
"path": "css/line_height_a.html",
"references": [
[
"/_mozilla/css/line_height_ref.html",
"=="
]
],
"url": "/_mozilla/css/line_height_a.html"
}
],
"css/line_height_float_placement_a.html": [
{
"path": "css/line_height_float_placement_a.html",
@ -7462,6 +7582,18 @@
"url": "/_mozilla/css/line_height_float_placement_a.html"
}
],
"css/linear_gradients_corners_a.html": [
{
"path": "css/linear_gradients_corners_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_corners_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_corners_a.html"
}
],
"css/linear_gradients_lengths_a.html": [
{
"path": "css/linear_gradients_lengths_a.html",
@ -7498,6 +7630,18 @@
"url": "/_mozilla/css/linear_gradients_reverse_a.html"
}
],
"css/linear_gradients_smoke_a.html": [
{
"path": "css/linear_gradients_smoke_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_smoke_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_smoke_a.html"
}
],
"css/linebreak_inline_span_a.html": [
{
"path": "css/linebreak_inline_span_a.html",

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that the legacy `cellspacing` attribute works. -->
<link rel=match href=border_spacing_ref.html>
<style>
body, html {
margin: 0;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=legacy_td_width_attribute_ref.html>
<style>
.a {
height: 16px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=legacy_td_width_attribute_ref.html>
<style>
.a {
height: 16px;

View file

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

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that corners are not handled incorrectly. -->
<link rel=mismatch href=linear_gradients_corners_ref.html>
<style>
section {
display: block;

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that linear gradients render *something*. -->
<link rel=mismatch href=linear_gradients_smoke_ref.html>
<style>
section {
display: block;