mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #8096 - 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/8096) <!-- Reviewable:end -->
This commit is contained in:
commit
5e4f132b3b
22 changed files with 290 additions and 11 deletions
|
@ -12,16 +12,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
||||||
== acid1_a.html acid1_b.html
|
== acid1_a.html acid1_b.html
|
||||||
== acid2_noscroll.html acid2_ref_broken.html
|
== acid2_noscroll.html acid2_ref_broken.html
|
||||||
flaky_cpu == append_style_a.html append_style_b.html
|
flaky_cpu == append_style_a.html append_style_b.html
|
||||||
== border_collapse_simple_a.html border_collapse_simple_ref.html
|
|
||||||
== border_radius_asymmetric_sizes_a.html border_radius_asymmetric_sizes_ref.html
|
|
||||||
== border_radius_clip_a.html border_radius_clip_ref.html
|
|
||||||
!= border_radius_dashed_a.html border_radius_dashed_ref.html
|
|
||||||
== border_radius_elliptical_a.html border_radius_elliptical_ref.html
|
|
||||||
== border_radius_overlapping_a.html border_radius_overlapping_ref.html
|
|
||||||
== border_radius_shorthand_a.html border_radius_shorthand_ref.html
|
|
||||||
== border_radius_zero_sizes_a.html border_radius_zero_sizes_ref.html
|
|
||||||
== border_rounding_1px_invisible_issue_7184_a.html border_rounding_1px_invisible_issue_7184_ref.html
|
|
||||||
== border_spacing_a.html border_spacing_ref.html
|
|
||||||
== border_spacing_auto_layout_a.html border_spacing_ref.html
|
== border_spacing_auto_layout_a.html border_spacing_ref.html
|
||||||
== border_spacing_empty_table.html border_spacing_empty_table_ref.html
|
== border_spacing_empty_table.html border_spacing_empty_table_ref.html
|
||||||
== border_spacing_fixed_layout_a.html border_spacing_ref.html
|
== border_spacing_fixed_layout_a.html border_spacing_ref.html
|
||||||
|
|
|
@ -659,6 +659,126 @@
|
||||||
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
|
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/border_collapse_simple_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_collapse_simple_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_collapse_simple_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_collapse_simple_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_asymmetric_sizes_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_asymmetric_sizes_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_asymmetric_sizes_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_asymmetric_sizes_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_clip_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_clip_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_clip_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_clip_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_dashed_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_dashed_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_dashed_ref.html",
|
||||||
|
"!="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_dashed_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_elliptical_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_elliptical_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_elliptical_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_elliptical_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_overlapping_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_overlapping_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_overlapping_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_overlapping_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_shorthand_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_shorthand_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_shorthand_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_shorthand_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_zero_sizes_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_zero_sizes_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_zero_sizes_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_zero_sizes_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_rounding_1px_invisible_issue_7184_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_rounding_1px_invisible_issue_7184_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_rounding_1px_invisible_issue_7184_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_rounding_1px_invisible_issue_7184_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_spacing_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_spacing_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_spacing_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_spacing_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/class-namespaces.html": [
|
"css/class-namespaces.html": [
|
||||||
{
|
{
|
||||||
"path": "css/class-namespaces.html",
|
"path": "css/class-namespaces.html",
|
||||||
|
@ -4380,6 +4500,126 @@
|
||||||
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
|
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/border_collapse_simple_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_collapse_simple_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_collapse_simple_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_collapse_simple_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_asymmetric_sizes_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_asymmetric_sizes_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_asymmetric_sizes_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_asymmetric_sizes_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_clip_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_clip_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_clip_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_clip_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_dashed_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_dashed_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_dashed_ref.html",
|
||||||
|
"!="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_dashed_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_elliptical_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_elliptical_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_elliptical_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_elliptical_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_overlapping_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_overlapping_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_overlapping_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_overlapping_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_shorthand_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_shorthand_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_shorthand_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_shorthand_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_radius_zero_sizes_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_radius_zero_sizes_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_radius_zero_sizes_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_radius_zero_sizes_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_rounding_1px_invisible_issue_7184_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_rounding_1px_invisible_issue_7184_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_rounding_1px_invisible_issue_7184_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_rounding_1px_invisible_issue_7184_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/border_spacing_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/border_spacing_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/border_spacing_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/border_spacing_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/class-namespaces.html": [
|
"css/class-namespaces.html": [
|
||||||
{
|
{
|
||||||
"path": "css/class-namespaces.html",
|
"path": "css/class-namespaces.html",
|
||||||
|
@ -6882,4 +7122,4 @@
|
||||||
"rev": null,
|
"rev": null,
|
||||||
"url_base": "/_mozilla/",
|
"url_base": "/_mozilla/",
|
||||||
"version": 2
|
"version": 2
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
don't correctly handle collapsed borders when calculating `table_border_padding` in
|
don't correctly handle collapsed borders when calculating `table_border_padding` in
|
||||||
`table_wrapper.rs`.
|
`table_wrapper.rs`.
|
||||||
-->
|
-->
|
||||||
|
<link rel=match href=border_collapse_simple_ref.html>
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
margin: 0;
|
margin: 0;
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||||
<meta content="utf-8" http-equiv="encoding">
|
<meta content="utf-8" http-equiv="encoding">
|
||||||
|
<link rel=match href=border_radius_asymmetric_sizes_ref.html>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div.box {
|
div.box {
|
||||||
background: white;
|
background: white;
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!-- Tests that `border-radius` causes the background to be clipped around the corners. -->
|
<!-- Tests that `border-radius` causes the background to be clipped around the corners. -->
|
||||||
|
<link rel=match href=border_radius_clip_ref.html>
|
||||||
<style>
|
<style>
|
||||||
main {
|
main {
|
||||||
display: block;
|
display: block;
|
|
@ -1,4 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<link rel=mismatch href=border_radius_dashed_ref.html>
|
||||||
<style>
|
<style>
|
||||||
section {
|
section {
|
||||||
border: dashed red 3px;
|
border: dashed red 3px;
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||||
<meta content="utf-8" http-equiv="encoding">
|
<meta content="utf-8" http-equiv="encoding">
|
||||||
|
<link rel=match href=border_radius_elliptical_ref.html>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div.box {
|
div.box {
|
||||||
background: white;
|
background: white;
|
|
@ -1,5 +1,6 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
<link rel=match href=border_radius_overlapping_ref.html>
|
||||||
<body>
|
<body>
|
||||||
<div style='box-sizing:border-box; width:6em; height:2em; border-radius:.5em 2em .5em 2em; background-color:red;'></div>
|
<div style='box-sizing:border-box; width:6em; height:2em; border-radius:.5em 2em .5em 2em; background-color:red;'></div>
|
||||||
</body>
|
</body>
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||||
<meta content="utf-8" http-equiv="encoding">
|
<meta content="utf-8" http-equiv="encoding">
|
||||||
|
<link rel=match href=border_radius_shorthand_ref.html>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div.box {
|
div.box {
|
||||||
background: white;
|
background: white;
|
|
@ -1,5 +1,6 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel=match href=border_radius_zero_sizes_ref.html>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="border-top: 20px solid black; border-radius: 5px"></div>
|
<div style="border-top: 20px solid black; border-radius: 5px"></div>
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel=match href=border_rounding_1px_invisible_issue_7184_ref.html>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.onyx {
|
.onyx {
|
||||||
color: white;
|
color: white;
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!-- Tests that `border-spacing` works. -->
|
<!-- Tests that `border-spacing` works. -->
|
||||||
|
<link rel=match href=border_spacing_ref.html>
|
||||||
<style>
|
<style>
|
||||||
body, html {
|
body, html {
|
||||||
margin: 0;
|
margin: 0;
|
39
tests/wpt/mozilla/tests/css/border_spacing_ref.html
Normal file
39
tests/wpt/mozilla/tests/css/border_spacing_ref.html
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<!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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue