Auto merge of #8781 - 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/8781)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-12-03 13:30:50 +05:30
commit c2bdae1ec3
11 changed files with 104 additions and 6 deletions

View file

@ -13,14 +13,8 @@ fragment=top != ../html/acid2.html acid2_ref.html
flaky_cpu == append_style_a.html append_style_b.html flaky_cpu == append_style_a.html append_style_b.html
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340 # `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
# Should be ==?
!= overflow_position_abs_inside_normal_a.html overflow_position_abs_inside_normal_b.html
resolution=300x300,device-pixel-ratio=2 != pixel_snapping_border_a.html pixel_snapping_border_ref.html resolution=300x300,device-pixel-ratio=2 != pixel_snapping_border_a.html pixel_snapping_border_ref.html
resolution=300x300,device-pixel-ratio=2 != pixel_snapping_position_a.html pixel_snapping_position_ref.html resolution=300x300,device-pixel-ratio=2 != pixel_snapping_position_a.html pixel_snapping_position_ref.html
# commented out because multiple layers don't work with reftests --pcwalton
# == position_fixed_a.html position_fixed_b.html
# == position_fixed_simple_a.html position_fixed_simple_b.html
# == position_fixed_static_y_a.html position_fixed_static_y_b.html
# text_decoration_propagation_a.html text_decoration_propagation_b.html # text_decoration_propagation_a.html text_decoration_propagation_b.html
!= text_overflow_a.html text_overflow_ref.html != text_overflow_a.html text_overflow_ref.html
flaky_cpu,prefs:"layout.writing-mode.enabled" == vertical-lr-blocks.html vertical-lr-blocks_ref.html flaky_cpu,prefs:"layout.writing-mode.enabled" == vertical-lr-blocks.html vertical-lr-blocks_ref.html

View file

@ -3295,6 +3295,18 @@
"url": "/_mozilla/css/overflow_position_abs_inline_block.html" "url": "/_mozilla/css/overflow_position_abs_inline_block.html"
} }
], ],
"css/overflow_position_abs_inside_normal_a.html": [
{
"path": "css/overflow_position_abs_inside_normal_a.html",
"references": [
[
"/_mozilla/css/overflow_position_abs_inside_normal_b.html",
"=="
]
],
"url": "/_mozilla/css/overflow_position_abs_inside_normal_a.html"
}
],
"css/overflow_position_abs_simple_a.html": [ "css/overflow_position_abs_simple_a.html": [
{ {
"path": "css/overflow_position_abs_simple_a.html", "path": "css/overflow_position_abs_simple_a.html",
@ -3547,6 +3559,18 @@
"url": "/_mozilla/css/position_abs_width_percentage_a.html" "url": "/_mozilla/css/position_abs_width_percentage_a.html"
} }
], ],
"css/position_fixed_a.html": [
{
"path": "css/position_fixed_a.html",
"references": [
[
"/_mozilla/css/position_fixed_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_a.html"
}
],
"css/position_fixed_background_color_a.html": [ "css/position_fixed_background_color_a.html": [
{ {
"path": "css/position_fixed_background_color_a.html", "path": "css/position_fixed_background_color_a.html",
@ -3571,6 +3595,30 @@
"url": "/_mozilla/css/position_fixed_overflow_a.html" "url": "/_mozilla/css/position_fixed_overflow_a.html"
} }
], ],
"css/position_fixed_simple_a.html": [
{
"path": "css/position_fixed_simple_a.html",
"references": [
[
"/_mozilla/css/position_fixed_simple_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_simple_a.html"
}
],
"css/position_fixed_static_y_a.html": [
{
"path": "css/position_fixed_static_y_a.html",
"references": [
[
"/_mozilla/css/position_fixed_static_y_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_static_y_a.html"
}
],
"css/position_fixed_tile_edge.html": [ "css/position_fixed_tile_edge.html": [
{ {
"path": "css/position_fixed_tile_edge.html", "path": "css/position_fixed_tile_edge.html",
@ -9018,6 +9066,18 @@
"url": "/_mozilla/css/overflow_position_abs_inline_block.html" "url": "/_mozilla/css/overflow_position_abs_inline_block.html"
} }
], ],
"css/overflow_position_abs_inside_normal_a.html": [
{
"path": "css/overflow_position_abs_inside_normal_a.html",
"references": [
[
"/_mozilla/css/overflow_position_abs_inside_normal_b.html",
"=="
]
],
"url": "/_mozilla/css/overflow_position_abs_inside_normal_a.html"
}
],
"css/overflow_position_abs_simple_a.html": [ "css/overflow_position_abs_simple_a.html": [
{ {
"path": "css/overflow_position_abs_simple_a.html", "path": "css/overflow_position_abs_simple_a.html",
@ -9270,6 +9330,18 @@
"url": "/_mozilla/css/position_abs_width_percentage_a.html" "url": "/_mozilla/css/position_abs_width_percentage_a.html"
} }
], ],
"css/position_fixed_a.html": [
{
"path": "css/position_fixed_a.html",
"references": [
[
"/_mozilla/css/position_fixed_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_a.html"
}
],
"css/position_fixed_background_color_a.html": [ "css/position_fixed_background_color_a.html": [
{ {
"path": "css/position_fixed_background_color_a.html", "path": "css/position_fixed_background_color_a.html",
@ -9294,6 +9366,30 @@
"url": "/_mozilla/css/position_fixed_overflow_a.html" "url": "/_mozilla/css/position_fixed_overflow_a.html"
} }
], ],
"css/position_fixed_simple_a.html": [
{
"path": "css/position_fixed_simple_a.html",
"references": [
[
"/_mozilla/css/position_fixed_simple_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_simple_a.html"
}
],
"css/position_fixed_static_y_a.html": [
{
"path": "css/position_fixed_static_y_a.html",
"references": [
[
"/_mozilla/css/position_fixed_static_y_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_static_y_a.html"
}
],
"css/position_fixed_tile_edge.html": [ "css/position_fixed_tile_edge.html": [
{ {
"path": "css/position_fixed_tile_edge.html", "path": "css/position_fixed_tile_edge.html",

View file

@ -0,0 +1,4 @@
[overflow_position_abs_inside_normal_a.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/8780

View file

@ -3,6 +3,7 @@
`overflow: hidden` on #second has no effect on #abs because its CB is #first. `overflow: hidden` on #second has no effect on #abs because its CB is #first.
</title> </title>
<head> <head>
<link rel=match href=overflow_position_abs_inside_normal_b.html>
<style> <style>
#first { #first {
position: relative; position: relative;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel=match href=position_fixed_b.html>
<style> <style>
.container { .container {
display: block; display: block;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel=match href=position_fixed_simple_b.html>
<style> <style>
html, body { html, body {
margin: 0px; margin: 0px;

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link rel=match href=position_fixed_static_y_b.html>
<style> <style>
html, body { html, body {
margin-left: 0px; margin-left: 0px;