mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
Auto merge of #8635 - Ms2ger:test-ref, r=nox
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/8635) <!-- Reviewable:end -->
This commit is contained in:
commit
3eef814c4d
18 changed files with 227 additions and 9 deletions
|
@ -48,22 +48,13 @@ resolution=300x300,device-pixel-ratio=2 != pixel_snapping_position_a.html pixel_
|
|||
# == 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
|
||||
== position_fixed_tile_edge.html position_fixed_tile_edge_ref.html
|
||||
== position_fixed_tile_edge_2.html position_fixed_tile_edge_ref.html
|
||||
== position_fixed_tile_edge_3.html position_fixed_tile_edge_ref.html
|
||||
== root_display_inline_a.html root_display_ref.html
|
||||
== root_display_without_style_a.html root_display_ref.html
|
||||
# text_decoration_propagation_a.html text_decoration_propagation_b.html
|
||||
!= text_decoration_smoke_a.html text_decoration_smoke_ref.html
|
||||
!= text_decoration_underline_subpx_a.html text_decoration_underline_subpx_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
|
||||
prefs:"layout.viewport.enabled" == viewport_meta.html viewport_rule_ref.html
|
||||
resolution=800x600 == viewport_percentage_vmin_vmax.html viewport_percentage_vmin_vmax_a.html
|
||||
# resolution=600x800 == viewport_percentage_vmin_vmax.html viewport_percentage_vmin_vmax_b.html
|
||||
resolution=800x600 == viewport_percentage_vw_vh.html viewport_percentage_vw_vh_a.html
|
||||
# resolution=600x800 == viewport_percentage_vw_vh.html viewport_percentage_vw_vh_b.html
|
||||
prefs:"layout.viewport.enabled" == viewport_rule.html viewport_rule_ref.html
|
||||
|
||||
flaky_macos == white_space_intrinsic_sizes_a.html white_space_intrinsic_sizes_ref.html
|
||||
|
||||
|
|
|
@ -3295,6 +3295,42 @@
|
|||
"url": "/_mozilla/css/position_fixed_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_tile_edge_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_tile_edge.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge_2.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge_2.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_tile_edge_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_tile_edge_2.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge_3.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge_3.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_tile_edge_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_tile_edge_3.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_a.html",
|
||||
|
@ -3487,6 +3523,30 @@
|
|||
"url": "/_mozilla/css/restyle_hints_state.html"
|
||||
}
|
||||
],
|
||||
"css/root_display_inline_a.html": [
|
||||
{
|
||||
"path": "css/root_display_inline_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/root_display_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/root_display_inline_a.html"
|
||||
}
|
||||
],
|
||||
"css/root_display_without_style_a.html": [
|
||||
{
|
||||
"path": "css/root_display_without_style_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/root_display_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/root_display_without_style_a.html"
|
||||
}
|
||||
],
|
||||
"css/root_height_a.html": [
|
||||
{
|
||||
"path": "css/root_height_a.html",
|
||||
|
@ -3991,6 +4051,30 @@
|
|||
"url": "/_mozilla/css/text_decoration_cached.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_smoke_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_smoke_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_decoration_smoke_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_decoration_smoke_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_underline_subpx_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_underline_subpx_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_decoration_underline_subpx_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_decoration_underline_subpx_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_indent_a.html": [
|
||||
{
|
||||
"path": "css/text_indent_a.html",
|
||||
|
@ -4363,6 +4447,30 @@
|
|||
"url": "/_mozilla/css/viewport_ignore_desktop.html"
|
||||
}
|
||||
],
|
||||
"css/viewport_meta.html": [
|
||||
{
|
||||
"path": "css/viewport_meta.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/viewport_rule_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/viewport_meta.html"
|
||||
}
|
||||
],
|
||||
"css/viewport_rule.html": [
|
||||
{
|
||||
"path": "css/viewport_rule.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/viewport_rule_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/viewport_rule.html"
|
||||
}
|
||||
],
|
||||
"css/visibility_hidden.html": [
|
||||
{
|
||||
"path": "css/visibility_hidden.html",
|
||||
|
@ -8628,6 +8736,42 @@
|
|||
"url": "/_mozilla/css/position_fixed_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_tile_edge_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_tile_edge.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge_2.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge_2.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_tile_edge_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_tile_edge_2.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge_3.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge_3.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_tile_edge_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_tile_edge_3.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_a.html",
|
||||
|
@ -8820,6 +8964,30 @@
|
|||
"url": "/_mozilla/css/restyle_hints_state.html"
|
||||
}
|
||||
],
|
||||
"css/root_display_inline_a.html": [
|
||||
{
|
||||
"path": "css/root_display_inline_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/root_display_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/root_display_inline_a.html"
|
||||
}
|
||||
],
|
||||
"css/root_display_without_style_a.html": [
|
||||
{
|
||||
"path": "css/root_display_without_style_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/root_display_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/root_display_without_style_a.html"
|
||||
}
|
||||
],
|
||||
"css/root_height_a.html": [
|
||||
{
|
||||
"path": "css/root_height_a.html",
|
||||
|
@ -9324,6 +9492,30 @@
|
|||
"url": "/_mozilla/css/text_decoration_cached.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_smoke_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_smoke_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_decoration_smoke_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_decoration_smoke_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_underline_subpx_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_underline_subpx_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_decoration_underline_subpx_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_decoration_underline_subpx_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_indent_a.html": [
|
||||
{
|
||||
"path": "css/text_indent_a.html",
|
||||
|
@ -9696,6 +9888,30 @@
|
|||
"url": "/_mozilla/css/viewport_ignore_desktop.html"
|
||||
}
|
||||
],
|
||||
"css/viewport_meta.html": [
|
||||
{
|
||||
"path": "css/viewport_meta.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/viewport_rule_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/viewport_meta.html"
|
||||
}
|
||||
],
|
||||
"css/viewport_rule.html": [
|
||||
{
|
||||
"path": "css/viewport_rule.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/viewport_rule_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/viewport_rule.html"
|
||||
}
|
||||
],
|
||||
"css/visibility_hidden.html": [
|
||||
{
|
||||
"path": "css/visibility_hidden.html",
|
||||
|
|
1
tests/wpt/mozilla/meta/css/viewport_meta.html.ini
Normal file
1
tests/wpt/mozilla/meta/css/viewport_meta.html.ini
Normal file
|
@ -0,0 +1 @@
|
|||
prefs: ["layout.viewport.enabled:true"]
|
1
tests/wpt/mozilla/meta/css/viewport_rule.html.ini
Normal file
1
tests/wpt/mozilla/meta/css/viewport_rule.html.ini
Normal file
|
@ -0,0 +1 @@
|
|||
prefs: ["layout.viewport.enabled:true"]
|
|
@ -1,4 +1,5 @@
|
|||
<html>
|
||||
<link rel=match href=position_fixed_tile_edge_ref.html>
|
||||
<body>
|
||||
<div style="background: green; position: fixed; top: 0px; left: 512px; width: 20px; height: 20px;"></div>
|
||||
</body>
|
|
@ -1,4 +1,5 @@
|
|||
<html>
|
||||
<link rel=match href=position_fixed_tile_edge_ref.html>
|
||||
<body>
|
||||
<div style="position: absolute; top: 0px; left: 512px;">
|
||||
<div style="position: absolute; background: green; width: 20px; height: 20px;"></div>
|
|
@ -1,4 +1,5 @@
|
|||
<html>
|
||||
<link rel=match href=position_fixed_tile_edge_ref.html>
|
||||
<body>
|
||||
<div style="position: absolute; top: 0px; left: 0px;">
|
||||
<div style="position: absolute; background: green; top: 0; margin-left: 512px; width: 20px; height: 20px;"></div>
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="display:inline">
|
||||
<head>
|
||||
<link rel=match href=root_display_ref.html>
|
||||
</head>
|
||||
<body>
|
||||
Hello world!
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=root_display_ref.html>
|
||||
<script>
|
||||
document.removeChild(document.documentElement);
|
||||
root = document.createElementNS(null, "html");
|
|
@ -2,6 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<!-- Tests that `text-decoration` does something. -->
|
||||
<link rel=mismatch href=text_decoration_smoke_ref.html>
|
||||
<style>
|
||||
#a {
|
||||
text-decoration: underline;
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Underline test</title>
|
||||
<link rel=mismatch href=text_decoration_underline_subpx_ref.html>
|
||||
<style>
|
||||
p {
|
||||
font: 14px "Times New Roman";
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=viewport_rule_ref.html>
|
||||
<meta name="viewport" content="width=240">
|
||||
<style>
|
||||
#container {
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=viewport_rule_ref.html>
|
||||
<style>
|
||||
@viewport {
|
||||
height: auto;
|
Loading…
Add table
Add a link
Reference in a new issue