mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #7944 - Ms2ger:test-ref, r=jdm
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/7944) <!-- Reviewable:end -->
This commit is contained in:
commit
ea7b990e2d
23 changed files with 259 additions and 10 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
|
||||||
== attr_selector_case_sensitivity.html attr_selector_case_sensitivity_ref.html
|
|
||||||
== background_clip_a.html background_clip_ref.html
|
|
||||||
== background_external_stylesheet.html background_ref.html
|
|
||||||
== background_image_a.html background_image_ref.html
|
|
||||||
== background_image_position_a.html background_image_position_ref.html
|
|
||||||
== background_none_a.html background_none_b.html
|
|
||||||
== background_origin_a.html background_origin_ref.html
|
|
||||||
== background_position_a.html background_position_b.html
|
|
||||||
== background_position_keyword.html background_position_b.html
|
|
||||||
== background_position_percent.html background_position_b.html
|
|
||||||
== background_position_shorthand.html background_position_shorthand_ref.html
|
== background_position_shorthand.html background_position_shorthand_ref.html
|
||||||
== background_repeat_both_a.html background_repeat_both_b.html
|
== background_repeat_both_a.html background_repeat_both_b.html
|
||||||
== background_repeat_none_a.html background_repeat_none_b.html
|
== background_repeat_none_a.html background_repeat_none_b.html
|
||||||
|
|
|
@ -183,6 +183,18 @@
|
||||||
"url": "/_mozilla/css/attr_exists_selector.html"
|
"url": "/_mozilla/css/attr_exists_selector.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/attr_selector_case_sensitivity.html": [
|
||||||
|
{
|
||||||
|
"path": "css/attr_selector_case_sensitivity.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/attr_selector_case_sensitivity_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/attr_selector_case_sensitivity.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/background.html": [
|
"css/background.html": [
|
||||||
{
|
{
|
||||||
"path": "css/background.html",
|
"path": "css/background.html",
|
||||||
|
@ -195,6 +207,114 @@
|
||||||
"url": "/_mozilla/css/background.html"
|
"url": "/_mozilla/css/background.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/background_clip_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_clip_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_clip_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_clip_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_external_stylesheet.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_external_stylesheet.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_rust_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_external_stylesheet.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_image_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_image_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_image_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_image_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_image_position_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_image_position_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_image_position_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_image_position_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_none_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_none_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_none_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_none_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_origin_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_origin_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_origin_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_origin_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_position_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_position_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_position_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_position_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_position_keyword.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_position_keyword.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_position_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_position_keyword.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_position_percent.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_position_percent.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_position_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_position_percent.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/class-namespaces.html": [
|
"css/class-namespaces.html": [
|
||||||
{
|
{
|
||||||
"path": "css/class-namespaces.html",
|
"path": "css/class-namespaces.html",
|
||||||
|
@ -1160,6 +1280,18 @@
|
||||||
"url": "/_mozilla/css/attr_exists_selector.html"
|
"url": "/_mozilla/css/attr_exists_selector.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/attr_selector_case_sensitivity.html": [
|
||||||
|
{
|
||||||
|
"path": "css/attr_selector_case_sensitivity.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/attr_selector_case_sensitivity_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/attr_selector_case_sensitivity.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/background.html": [
|
"css/background.html": [
|
||||||
{
|
{
|
||||||
"path": "css/background.html",
|
"path": "css/background.html",
|
||||||
|
@ -1172,6 +1304,114 @@
|
||||||
"url": "/_mozilla/css/background.html"
|
"url": "/_mozilla/css/background.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/background_clip_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_clip_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_clip_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_clip_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_external_stylesheet.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_external_stylesheet.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_rust_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_external_stylesheet.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_image_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_image_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_image_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_image_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_image_position_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_image_position_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_image_position_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_image_position_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_none_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_none_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_none_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_none_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_origin_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_origin_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_origin_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_origin_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_position_a.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_position_a.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_position_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_position_a.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_position_keyword.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_position_keyword.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_position_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_position_keyword.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/background_position_percent.html": [
|
||||||
|
{
|
||||||
|
"path": "css/background_position_percent.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/background_position_b.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/background_position_percent.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/class-namespaces.html": [
|
"css/class-namespaces.html": [
|
||||||
{
|
{
|
||||||
"path": "css/class-namespaces.html",
|
"path": "css/class-namespaces.html",
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Attribute selector case-sensitivity: [foo=bar] and [foo=bar i]</title>
|
<title>Attribute selector case-sensitivity: [foo=bar] and [foo=bar i]</title>
|
||||||
|
<link rel=match href=attr_selector_case_sensitivity_ref.html>
|
||||||
<style>
|
<style>
|
||||||
p[data-foo=Bar] { color: green }
|
p[data-foo=Bar] { color: green }
|
||||||
p[data-foo=bar] { color: red }
|
p[data-foo=bar] { color: red }
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel=match href=background_clip_ref.html>
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
background: green;
|
background: green;
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title></title>
|
<title></title>
|
||||||
<link rel="stylesheet" href="subdirectory/background_image.css">
|
<link rel="stylesheet" href="subdirectory/background_image.css">
|
||||||
|
<link rel=match href=background_rust_ref.html>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="test" style="width:206px; height:206px;"></div>
|
<div class="test" style="width:206px; height:206px;"></div>
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel=match href=background_image_ref.html>
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
background-image: url("test.jpeg");
|
background-image: url("test.jpeg");
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel=match href=background_image_position_ref.html>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
font-family: 'ahem';
|
font-family: 'ahem';
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>background: none test</title>
|
<title>background: none test</title>
|
||||||
|
<link rel=match href=background_none_b.html>
|
||||||
<style>
|
<style>
|
||||||
#a {
|
#a {
|
||||||
background: red;
|
background: red;
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel=match href=background_origin_ref.html>
|
||||||
<style>
|
<style>
|
||||||
#foo1 {
|
#foo1 {
|
||||||
background: url(400x400_green.png);
|
background: url(400x400_green.png);
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
|
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
|
||||||
|
<link rel=match href=background_position_b.html>
|
||||||
<style>
|
<style>
|
||||||
#foo {
|
#foo {
|
||||||
background: url(400x400_green.png);
|
background: url(400x400_green.png);
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
|
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
|
||||||
|
<link rel=match href=background_position_b.html>
|
||||||
<style>
|
<style>
|
||||||
#foo {
|
#foo {
|
||||||
background: url(400x400_green.png);
|
background: url(400x400_green.png);
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
|
<title>You see here a scroll labeled FOOBIE BLETCH.</title>
|
||||||
|
<link rel=match href=background_position_b.html>
|
||||||
<style>
|
<style>
|
||||||
#foo {
|
#foo {
|
||||||
background: url(400x400_green.png);
|
background: url(400x400_green.png);
|
9
tests/wpt/mozilla/tests/css/background_rust_ref.html
Normal file
9
tests/wpt/mozilla/tests/css/background_rust_ref.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img class="test" src="rust-0.png" style="width:206px; height:206px;" />
|
||||||
|
</body>
|
||||||
|
</html>
|
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 135 B |
BIN
tests/wpt/mozilla/tests/css/test.jpeg
Normal file
BIN
tests/wpt/mozilla/tests/css/test.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
Loading…
Add table
Add a link
Reference in a new issue