Auto merge of #8354 - 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/8354)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-05 22:31:40 +05:30
commit bc9970dd6a
22 changed files with 250 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

View file

@ -11,11 +11,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
== acid2_noscroll.html acid2_ref_broken.html
flaky_cpu == append_style_a.html append_style_b.html
== fixed_width_overrides_child_intrinsic_width_a.html fixed_width_overrides_child_intrinsic_width_ref.html
prefs:"layout.flex-direction.enabled,layout.flex.enabled" == flex_column_direction.html flex_column_direction_ref.html
prefs:"layout.flex.enabled" == flex_row_direction.html flex_row_direction_ref.html
== floated_negative_margins_a.html floated_negative_margins_ref.html
== font_size.html font_size_ref.html
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
== iframe/bg_color.html iframe/bg_color_ref.html
@ -39,11 +34,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== iframe/stacking_context.html iframe/stacking_context_ref.html
== iframe/stacking_context_position_a.html iframe/stacking_context_position_ref.html
!= image_rendering_auto_a.html image_rendering_pixelated_a.html
== image_rendering_pixelated_a.html image_rendering_pixelated_ref.html
== img_block_maxwidth_a.html img_block_maxwidth_ref.html
== img_block_maxwidth_b.html img_block_maxwidth_ref.html
!= img_simple.html img_simple_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

View file

@ -1259,6 +1259,30 @@
"url": "/_mozilla/css/first_of_type_pseudo_a.html"
}
],
"css/fixed_width_overrides_child_intrinsic_width_a.html": [
{
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
"references": [
[
"/_mozilla/css/fixed_width_overrides_child_intrinsic_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/fixed_width_overrides_child_intrinsic_width_a.html"
}
],
"css/flex_column_direction.html": [
{
"path": "css/flex_column_direction.html",
"references": [
[
"/_mozilla/css/flex_column_direction_ref.html",
"=="
]
],
"url": "/_mozilla/css/flex_column_direction.html"
}
],
"css/flex_nochild.html": [
{
"path": "css/flex_nochild.html",
@ -1271,6 +1295,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/flex_row_direction.html": [
{
"path": "css/flex_row_direction.html",
"references": [
[
"/_mozilla/css/flex_row_direction_ref.html",
"=="
]
],
"url": "/_mozilla/css/flex_row_direction.html"
}
],
"css/float_clearance_a.html": [
{
"path": "css/float_clearance_a.html",
@ -1403,6 +1439,18 @@
"url": "/_mozilla/css/floated_list_item_a.html"
}
],
"css/floated_negative_margins_a.html": [
{
"path": "css/floated_negative_margins_a.html",
"references": [
[
"/_mozilla/css/floated_negative_margins_ref.html",
"=="
]
],
"url": "/_mozilla/css/floated_negative_margins_a.html"
}
],
"css/floated_table_with_margin_a.html": [
{
"path": "css/floated_table_with_margin_a.html",
@ -1463,6 +1511,18 @@
"url": "/_mozilla/css/font_face_attribute.html"
}
],
"css/font_size.html": [
{
"path": "css/font_size.html",
"references": [
[
"/_mozilla/css/font_size_ref.html",
"=="
]
],
"url": "/_mozilla/css/font_size.html"
}
],
"css/font_style.html": [
{
"path": "css/font_style.html",
@ -1499,6 +1559,30 @@
"url": "/_mozilla/css/hide_after_create.html"
}
],
"css/image_rendering_auto_a.html": [
{
"path": "css/image_rendering_auto_a.html",
"references": [
[
"/_mozilla/css/image_rendering_pixelated_a.html",
"!="
]
],
"url": "/_mozilla/css/image_rendering_auto_a.html"
}
],
"css/image_rendering_pixelated_a.html": [
{
"path": "css/image_rendering_pixelated_a.html",
"references": [
[
"/_mozilla/css/image_rendering_pixelated_ref.html",
"=="
]
],
"url": "/_mozilla/css/image_rendering_pixelated_a.html"
}
],
"css/img_block_display_a.html": [
{
"path": "css/img_block_display_a.html",
@ -1511,6 +1595,30 @@
"url": "/_mozilla/css/img_block_display_a.html"
}
],
"css/img_block_maxwidth_a.html": [
{
"path": "css/img_block_maxwidth_a.html",
"references": [
[
"/_mozilla/css/img_block_maxwidth_ref.html",
"=="
]
],
"url": "/_mozilla/css/img_block_maxwidth_a.html"
}
],
"css/img_block_maxwidth_b.html": [
{
"path": "css/img_block_maxwidth_b.html",
"references": [
[
"/_mozilla/css/img_block_maxwidth_ref.html",
"=="
]
],
"url": "/_mozilla/css/img_block_maxwidth_b.html"
}
],
"css/img_dynamic_remove.html": [
{
"path": "css/img_dynamic_remove.html",
@ -1535,6 +1643,18 @@
"url": "/_mozilla/css/img_padding_a.html"
}
],
"css/img_simple.html": [
{
"path": "css/img_simple.html",
"references": [
[
"/_mozilla/css/img_simple_ref.html",
"!="
]
],
"url": "/_mozilla/css/img_simple.html"
}
],
"css/img_size_a.html": [
{
"path": "css/img_size_a.html",
@ -6072,6 +6192,30 @@
"url": "/_mozilla/css/first_of_type_pseudo_a.html"
}
],
"css/fixed_width_overrides_child_intrinsic_width_a.html": [
{
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
"references": [
[
"/_mozilla/css/fixed_width_overrides_child_intrinsic_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/fixed_width_overrides_child_intrinsic_width_a.html"
}
],
"css/flex_column_direction.html": [
{
"path": "css/flex_column_direction.html",
"references": [
[
"/_mozilla/css/flex_column_direction_ref.html",
"=="
]
],
"url": "/_mozilla/css/flex_column_direction.html"
}
],
"css/flex_nochild.html": [
{
"path": "css/flex_nochild.html",
@ -6084,6 +6228,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/flex_row_direction.html": [
{
"path": "css/flex_row_direction.html",
"references": [
[
"/_mozilla/css/flex_row_direction_ref.html",
"=="
]
],
"url": "/_mozilla/css/flex_row_direction.html"
}
],
"css/float_clearance_a.html": [
{
"path": "css/float_clearance_a.html",
@ -6216,6 +6372,18 @@
"url": "/_mozilla/css/floated_list_item_a.html"
}
],
"css/floated_negative_margins_a.html": [
{
"path": "css/floated_negative_margins_a.html",
"references": [
[
"/_mozilla/css/floated_negative_margins_ref.html",
"=="
]
],
"url": "/_mozilla/css/floated_negative_margins_a.html"
}
],
"css/floated_table_with_margin_a.html": [
{
"path": "css/floated_table_with_margin_a.html",
@ -6276,6 +6444,18 @@
"url": "/_mozilla/css/font_face_attribute.html"
}
],
"css/font_size.html": [
{
"path": "css/font_size.html",
"references": [
[
"/_mozilla/css/font_size_ref.html",
"=="
]
],
"url": "/_mozilla/css/font_size.html"
}
],
"css/font_style.html": [
{
"path": "css/font_style.html",
@ -6312,6 +6492,30 @@
"url": "/_mozilla/css/hide_after_create.html"
}
],
"css/image_rendering_auto_a.html": [
{
"path": "css/image_rendering_auto_a.html",
"references": [
[
"/_mozilla/css/image_rendering_pixelated_a.html",
"!="
]
],
"url": "/_mozilla/css/image_rendering_auto_a.html"
}
],
"css/image_rendering_pixelated_a.html": [
{
"path": "css/image_rendering_pixelated_a.html",
"references": [
[
"/_mozilla/css/image_rendering_pixelated_ref.html",
"=="
]
],
"url": "/_mozilla/css/image_rendering_pixelated_a.html"
}
],
"css/img_block_display_a.html": [
{
"path": "css/img_block_display_a.html",
@ -6324,6 +6528,30 @@
"url": "/_mozilla/css/img_block_display_a.html"
}
],
"css/img_block_maxwidth_a.html": [
{
"path": "css/img_block_maxwidth_a.html",
"references": [
[
"/_mozilla/css/img_block_maxwidth_ref.html",
"=="
]
],
"url": "/_mozilla/css/img_block_maxwidth_a.html"
}
],
"css/img_block_maxwidth_b.html": [
{
"path": "css/img_block_maxwidth_b.html",
"references": [
[
"/_mozilla/css/img_block_maxwidth_ref.html",
"=="
]
],
"url": "/_mozilla/css/img_block_maxwidth_b.html"
}
],
"css/img_dynamic_remove.html": [
{
"path": "css/img_dynamic_remove.html",
@ -6348,6 +6576,18 @@
"url": "/_mozilla/css/img_padding_a.html"
}
],
"css/img_simple.html": [
{
"path": "css/img_simple.html",
"references": [
[
"/_mozilla/css/img_simple_ref.html",
"!="
]
],
"url": "/_mozilla/css/img_simple.html"
}
],
"css/img_size_a.html": [
{
"path": "css/img_size_a.html",

View file

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

View file

@ -5,6 +5,7 @@
<title>CSS Test: flex container should layout flex items horizontally</title>
<link rel="author" title="Kyle Zentner" href="mailto:zentner.kyle@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/">
<link rel=match href=flex_column_direction_ref.html>
<style>
body {
margin: 0;

View file

@ -5,6 +5,7 @@
<title>CSS Test: flex container should layout flex items horizontally</title>
<link rel="author" title="Kyle Zentner" href="mailto:zentner.kyle@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/">
<link rel=match href=flex_row_direction_ref.html>
<style>
body {
margin: 0;

View file

@ -1,3 +1,4 @@
<link rel=match href=floated_negative_margins_ref.html>
<style>
body {
margin: 0;

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<title>font-size (issues #1435, #3417)</title>
<link rel=match href=font_size_ref.html>
<style>p { margin: .5em }</style>
<body style="font-size: 20px">
<p style="font-size: 24pt">24pt is 32px.

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that `image-rendering: auto` uses bilinear filtering. -->
<link rel=mismatch href=image_rendering_pixelated_a.html>
<style>
img {
position: absolute;

View file

@ -2,6 +2,7 @@
<html>
<head>
<!-- Tests that `image-rendering: pixelated` causes nearest-neighbor interpolation to be used. -->
<link rel=match href=image_rendering_pixelated_ref.html>
<style>
img {
position: absolute;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=img_block_maxwidth_ref.html>
<style type="text/css">
body {
margin: 0;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=img_block_maxwidth_ref.html>
<style type="text/css">
body {
margin: 0;

View file

@ -1,3 +1,4 @@
<!doctype html>
<link rel=mismatch href=img_simple_ref.html>
Hello
<img src=400x400_green.png>