Auto merge of #8088 - frewsxcv:reftests, r=jdm

Use wptrunner for some old-style reftests.

Part of #5618

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8088)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-20 06:55:10 -06:00
commit ecee44da0e
112 changed files with 1376 additions and 55 deletions

View file

@ -112,90 +112,35 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== img_dynamic_remove.html img_dynamic_remove_ref.html == img_dynamic_remove.html img_dynamic_remove_ref.html
== img_padding_a.html img_padding_b.html == img_padding_a.html img_padding_b.html
!= img_simple.html img_simple_ref.html != img_simple.html img_simple_ref.html
== img_size_a.html img_size_b.html
== img_width_attribute_intrinsic_width_a.html img_width_attribute_intrinsic_width_ref.html == img_width_attribute_intrinsic_width_a.html img_width_attribute_intrinsic_width_ref.html
== img_width_style_intrinsic_width_a.html img_width_style_intrinsic_width_ref.html
== incremental_float_a.html incremental_float_ref.html
== incremental_inline_layout_a.html incremental_inline_layout_ref.html
== incremental_letter_spacing_a.html incremental_letter_spacing_ref.html
== incremental_text_color_a.html incremental_text_color_ref.html == incremental_text_color_a.html incremental_text_color_ref.html
== inline_absolute_hypothetical_clip_a.html inline_absolute_hypothetical_clip_ref.html
== inline_absolute_out_of_flow_a.html inline_absolute_out_of_flow_ref.html
!= inline_background_a.html inline_background_ref.html != inline_background_a.html inline_background_ref.html
== inline_block_baseline_a.html inline_block_baseline_ref.html == inline_block_baseline_a.html inline_block_baseline_ref.html
== inline_block_block_direction_margins_a.html inline_block_block_direction_margins_ref.html
== inline_block_border_a.html inline_block_border_ref.html
== inline_block_border_intrinsic_size_a.html inline_block_border_intrinsic_size_ref.html == inline_block_border_intrinsic_size_a.html inline_block_border_intrinsic_size_ref.html
== inline_block_img_a.html inline_block_img_ref.html
== inline_block_margin_a.html inline_block_margin_ref.html
== inline_block_margin_auto_a.html inline_block_margin_auto_ref.html == inline_block_margin_auto_a.html inline_block_margin_auto_ref.html
== inline_block_margin_auto_zero_a.html inline_block_margin_auto_zero_ref.html
== inline_block_min_width.html inline_block_min_width_ref.html
== inline_block_overflow.html inline_block_overflow_ref.html
== inline_block_overflow_hidden_a.html inline_block_overflow_hidden_ref.html
== inline_block_parent_padding_a.html inline_block_parent_padding_ref.html
== inline_block_parent_width.html inline_block_parent_width_ref.html == inline_block_parent_width.html inline_block_parent_width_ref.html
== inline_block_parent_width_percentage.html inline_block_parent_width_ref.html == inline_block_parent_width_percentage.html inline_block_parent_width_ref.html
== inline_block_percentage_height_a.html inline_block_percentage_height_ref.html
== inline_block_stacking_context_a.html inline_block_stacking_context_ref.html
== inline_block_with_margin_a.html inline_block_with_margin_ref.html
# inline_border_a.html inline_border_b.html # inline_border_a.html inline_border_b.html
== inline_hypothetical_box_a.html inline_hypothetical_box_ref.html
== inline_margin_multiple_fragments_a.html inline_margin_multiple_fragments_ref.html
== inline_margins_intrinsic_size_a.html inline_margins_intrinsic_size_ref.html
== inline_text_align_a.html inline_text_align_b.html
== inline_whitespace_a.html inline_whitespace_ref.html == inline_whitespace_a.html inline_whitespace_ref.html
== inline_whitespace_b.html inline_whitespace_ref.html == inline_whitespace_b.html inline_whitespace_ref.html
== input_button_margins_a.html input_button_margins_ref.html
== input_button_size_a.html input_button_size_ref.html
!= input_height_a.html input_height_ref.html != input_height_a.html input_height_ref.html
!= inset_blackborder.html blackborder_ref.html != inset_blackborder.html blackborder_ref.html
== jpeg_normal.html jpeg_ref.html == jpeg_normal.html jpeg_ref.html
== jpeg_progressive.html jpeg_ref.html == jpeg_progressive.html jpeg_ref.html
== last_child_pseudo_a.html last_child_pseudo_b.html
== last_of_type_pseudo_a.html last_of_type_pseudo_b.html
== legacy_cellspacing_attribute_a.html border_spacing_ref.html == legacy_cellspacing_attribute_a.html border_spacing_ref.html
== legacy_td_width_attribute_a.html legacy_td_width_attribute_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 == legacy_th_width_attribute_a.html legacy_td_width_attribute_ref.html
== li_absolute_containing_block_a.html li_absolute_containing_block_ref.html
== line_breaking_whitespace_collapse_a.html line_breaking_whitespace_collapse_ref.html
== line_height_a.html line_height_ref.html == line_height_a.html line_height_ref.html
== line_height_float_placement_a.html line_height_float_placement_ref.html
!= linear_gradients_corners_a.html linear_gradients_corners_ref.html != linear_gradients_corners_a.html linear_gradients_corners_ref.html
== linear_gradients_lengths_a.html linear_gradients_lengths_ref.html
== linear_gradients_parsing_a.html linear_gradients_parsing_ref.html
== linear_gradients_reverse_a.html linear_gradients_reverse_ref.html
!= linear_gradients_smoke_a.html linear_gradients_smoke_ref.html != linear_gradients_smoke_a.html linear_gradients_smoke_ref.html
== linebreak_inline_span_a.html linebreak_inline_span_b.html
flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
# Fails intermittently (#3636) # Fails intermittently (#3636)
# == link_style_dynamic_addition.html link_style_dynamic_addition_ref.html # == link_style_dynamic_addition.html link_style_dynamic_addition_ref.html
== link_style_order.html link_style_order_ref.html
== list_style_image_sizing_a.html list_style_image_sizing_ref.html
== list_style_position_a.html list_style_position_ref.html == list_style_position_a.html list_style_position_ref.html
!= list_style_type_a.html list_style_type_ref.html != list_style_type_a.html list_style_type_ref.html
== many_brs_a.html many_brs_ref.html
== margin_a.html margin_b.html == margin_a.html margin_b.html
== margin_padding_inline_block_a.html margin_padding_inline_block_ref.html
== margins_inside_floats_a.html margins_inside_floats_ref.html
== marker_block_direction_placement_a.html marker_block_direction_placement_ref.html == marker_block_direction_placement_a.html marker_block_direction_placement_ref.html
== max_width_float_simple_a.html max_width_float_simple_b.html
== max_width_simple_a.html max_width_simple_b.html
== min_max_height_a.html min_max_height_b.html
== min_width_float_simple_a.html min_width_float_simple_b.html
== min_width_simple_a.html min_width_simple_b.html
== minimum_line_height_a.html minimum_line_height_b.html
== mix_blend_mode_a.html mix_blend_mode_ref.html
== multiple_css_class_a.html multiple_css_class_b.html
== negative_margin_uncle_a.html negative_margin_uncle_b.html
== negative_margins_a.html negative_margins_b.html
== no-image.html no-image-ref.html
== no_image_background_a.html no_image_background_ref.html
== noscript.html noscript_ref.html
!= noteq_attr_exists_selector.html attr_exists_selector_ref.html != noteq_attr_exists_selector.html attr_exists_selector_ref.html
== nth_last_of_type_pseudo_a.html nth_last_of_type_pseudo_b.html
== nth_of_type_pseudo_a.html nth_of_type_pseudo_b.html
== object_element_a.html object_element_b.html
!= octicons_a.html octicons_ref.html != octicons_a.html octicons_ref.html
== ol_japanese_iroha_a.html ol_japanese_iroha_ref.html == ol_japanese_iroha_a.html ol_japanese_iroha_ref.html
!= ol_japanese_iroha_bullet_styles.html ol_japanese_iroha_ref.html != ol_japanese_iroha_bullet_styles.html ol_japanese_iroha_ref.html

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='img_size_b.html'>
<title> <title>
The winter is too cold for me... The winter is too cold for me...
</title> </title>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='img_width_style_intrinsic_width_ref.html'>
</head> </head>
<body> <body>
<div style="float: left; background: red; height: 100px; overflow: hidden"> <div style="float: left; background: red; height: 100px; overflow: hidden">

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='incremental_float_ref.html'>
<style> <style>
nav.floaty { nav.floaty {
float: left; float: left;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='incremental_inline_layout_ref.html'>
<style> <style>
h1 { h1 {
font-size: 72px; font-size: 72px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='incremental_letter_spacing_ref.html'>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Incremental layout letter-spacing test</title> <title>Incremental layout letter-spacing test</title>
</head> </head>

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='inline_absolute_hypothetical_clip_ref.html'>
<style> <style>
body { body {
margin: 16px; margin: 16px;

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='inline_absolute_out_of_flow_ref.html'>
<style> <style>
#a { #a {
display: inline; display: inline;

View file

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

View file

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<link rel='match' href='inline_block_border_ref.html'>
<body> <body>
<div style="display: inline-block; border: solid black 1px; padding: 6px; height: 64px; width: 64px;"></div> <div style="display: inline-block; border: solid black 1px; padding: 6px; height: 64px; width: 64px;"></div>
</body> </body>

View file

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

View file

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

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='inline_block_margin_auto_zero_ref.html'>
<style> <style>
html, body { html, body {
margin: 0; margin: 0;

View file

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

View file

@ -1,5 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html> <html>
<link rel='match' href='inline_block_overflow_ref.html'>
<body> <body>
a<span style="display: inline-block; overflow: hidden">b</span> a<span style="display: inline-block; overflow: hidden">b</span>
</body> </body>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<link rel='match' href='inline_block_overflow_hidden_ref.html'>
<body> <body>
<div style="display: inline-block; overflow: hidden">This should be visible</div> <div style="display: inline-block; overflow: hidden">This should be visible</div>
</body> </body>

View file

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

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='inline_block_percentage_height_ref.html'>
<title>Hello</title> <title>Hello</title>
</head> </head>
<body> <body>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='inline_block_stacking_context_ref.html'>
<link rel="stylesheet" type="text/css" href="css/ahem.css"> <link rel="stylesheet" type="text/css" href="css/ahem.css">
<style type="text/css"> <style type="text/css">
* { * {

View file

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

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='inline_hypothetical_box_ref.html'>
<style> <style>
.a { .a {
position: relative; position: relative;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='inline_margin_multiple_fragments_ref.html'>
<style> <style>
span { span {
margin-left: 128px; margin-left: 128px;

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='inline_margins_intrinsic_size_ref.html'>
<style> <style>
span { span {
margin: 0 1em; margin: 0 1em;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='inline_text_align_b.html'>
<style> <style>
.right { .right {
text-align: right; text-align: right;

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='input_button_margins_ref.html'>
<style> <style>
body, html { body, html {
margin: 0; margin: 0;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='input_button_size_ref.html'>
</head> </head>
<body> <body>
<input type=submit size=100 value=sumbit> <input type=submit size=100 value=sumbit>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='last_child_pseudo_b.html'>
<title>:last-child test</title> <title>:last-child test</title>
<style type="text/css"> <style type="text/css">
html { background: red;} html { background: red;}

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='last_of_type_pseudo_b.html'>
<title>:last-of-type test</title> <title>:last-of-type test</title>
<style type="text/css"> <style type="text/css">
html { background: red; } html { background: red; }

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='li_absolute_containing_block_ref.html'>
<style> <style>
body { body {
font-size: 64px; font-size: 64px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='line_breaking_whitespace_collapse_ref.html'>
<link rel="stylesheet" type="text/css" href="css/ahem.css"> <link rel="stylesheet" type="text/css" href="css/ahem.css">
<style> <style>
p { p {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='line_height_float_placement_ref.html'>
<link rel="stylesheet" type="text/css" href="css/ahem.css"> <link rel="stylesheet" type="text/css" href="css/ahem.css">
<style> <style>
* { * {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='linear_gradients_lengths_ref.html'>
<!-- Tests that linear gradient lengths work. --> <!-- Tests that linear gradient lengths work. -->
<style> <style>
section { section {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='linear_gradients_parsing_ref.html'>
<!-- Tests that parsing linear gradients works. --> <!-- Tests that parsing linear gradients works. -->
<style> <style>
section { section {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='linear_gradients_reverse_ref.html'>
<!-- Tests that reversed linear gradients are equivalent. --> <!-- Tests that reversed linear gradients are equivalent. -->
<style> <style>
section { section {

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='linebreak_inline_span_b.html'>
<style type="text/css"> <style type="text/css">
* { * {
margin: 0px; margin: 0px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='link_style_order_ref.html'>
<meta charset="utf-8"> <meta charset="utf-8">
<title>link/style order test</title> <title>link/style order test</title>
<link rel="stylesheet" href="data:text/css,body{background:red;}"> <link rel="stylesheet" href="data:text/css,body{background:red;}">

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='list_style_image_sizing_ref.html'>
<!-- <!--
Tests that the list style image doesn't get stretched vertically. It should be completely Tests that the list style image doesn't get stretched vertically. It should be completely
covered up by the black absolutely-positioned div. covered up by the black absolutely-positioned div.

View file

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<link rel='match' href='many_brs_ref.html'>
<body> <body>
Cupcakes<br>are<br>supremely<br>delicious. Cupcakes<br>are<br>supremely<br>delicious.
</body> </body>

View file

@ -1,4 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<link rel='match' href='margin_padding_inline_block_ref.html'>
<style> <style>
html, body { html, body {
margin: 0; margin: 0;

View file

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<link rel='match' href='margins_inside_floats_ref.html'>
<body> <body>
<div style="float: left;"> <div style="float: left;">
<div style="margin-bottom: 64px;">Must be this tall</div> <div style="margin-bottom: 64px;">Must be this tall</div>

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='max_width_float_simple_b.html'>
<style> <style>
#first { #first {
width: 100px; width: 100px;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='max_width_simple_b.html'>
<style> <style>
#first { #first {
position: relative; position: relative;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='min_max_height_b.html'>
<title>You see here a scroll labeled VE FORBRYDERNE.</title> <title>You see here a scroll labeled VE FORBRYDERNE.</title>
<style> <style>
div { div {

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='min_width_float_simple_b.html'>
<style> <style>
#first { #first {
position: relative; position: relative;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='min_width_simple_b.html'>
<style> <style>
#first { #first {
position: relative; position: relative;

View file

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<link rel='match' href='minimum_line_height_b.html'>
<head> <head>
<style> <style>
#a { #a {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='mix_blend_mode_ref.html'>
<style> <style>
html { html {
background: #ffffff; background: #ffffff;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel='match' href='multiple_css_class_b.html'>
<style> <style>
.foo { .foo {
height: 100px; height: 100px;

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='negative_margin_uncle_b.html'>
<title>You see here a scroll labeled KERNOD WEL.</title> <title>You see here a scroll labeled KERNOD WEL.</title>
<style> <style>
body { body {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel='match' href='negative_margins_b.html'>
<style> <style>
* { * {
line-height: 14px; line-height: 14px;

Some files were not shown because too many files have changed in this diff Show more