mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Auto merge of #8793 - 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/8793) <!-- Reviewable:end -->
This commit is contained in:
commit
db0a0ac9f6
10 changed files with 84 additions and 3 deletions
|
@ -4375,6 +4375,18 @@
|
|||
"url": "/_mozilla/css/text_decoration_cached.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_propagation_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_propagation_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_decoration_propagation_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_decoration_propagation_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_smoke_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_smoke_a.html",
|
||||
|
@ -4423,6 +4435,18 @@
|
|||
"url": "/_mozilla/css/text_justify_none_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_basic_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_basic_a.html",
|
||||
|
@ -4627,6 +4651,18 @@
|
|||
"url": "/_mozilla/css/upper_id_attr.html"
|
||||
}
|
||||
],
|
||||
"css/vertical-lr-blocks.html": [
|
||||
{
|
||||
"path": "css/vertical-lr-blocks.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical-lr-blocks_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical-lr-blocks.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_bottom_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_bottom_a.html",
|
||||
|
@ -10146,6 +10182,18 @@
|
|||
"url": "/_mozilla/css/text_decoration_cached.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_propagation_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_propagation_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_decoration_propagation_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_decoration_propagation_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_decoration_smoke_a.html": [
|
||||
{
|
||||
"path": "css/text_decoration_smoke_a.html",
|
||||
|
@ -10194,6 +10242,18 @@
|
|||
"url": "/_mozilla/css/text_justify_none_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/text_overflow_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/text_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/text_overflow_basic_a.html": [
|
||||
{
|
||||
"path": "css/text_overflow_basic_a.html",
|
||||
|
@ -10398,6 +10458,18 @@
|
|||
"url": "/_mozilla/css/upper_id_attr.html"
|
||||
}
|
||||
],
|
||||
"css/vertical-lr-blocks.html": [
|
||||
{
|
||||
"path": "css/vertical-lr-blocks.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/vertical-lr-blocks_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/vertical-lr-blocks.html"
|
||||
}
|
||||
],
|
||||
"css/vertical_align_bottom_a.html": [
|
||||
{
|
||||
"path": "css/vertical_align_bottom_a.html",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[text_decoration_propagation_a.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
bug: https://github.com/servo/servo/issues/8783
|
5
tests/wpt/mozilla/meta/css/vertical-lr-blocks.html.ini
Normal file
5
tests/wpt/mozilla/meta/css/vertical-lr-blocks.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
prefs: [layout.writing-mode.enabled:true]
|
||||
[vertical-lr-blocks.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
bug: https://github.com/servo/servo/issues/3926
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>I CAN'T LIVE ANOTHER DAY WITHOUT AIR CONDITIONING!</title>
|
||||
<link rel=match href=text_decoration_propagation_b.html>
|
||||
<style>
|
||||
#a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=a>
|
||||
hi
|
||||
<div id=b>
|
||||
there
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>I CAN'T LIVE ANOTHER DAY WITHOUT AIR CONDITIONING!</title>
|
||||
<style>
|
||||
#a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
#b {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=a>
|
||||
hi
|
||||
<div id=b>
|
||||
there
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
21
tests/wpt/mozilla/tests/css/text_overflow_a.html
Normal file
21
tests/wpt/mozilla/tests/css/text_overflow_a.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=mismatch href=text_overflow_ref.html>
|
||||
<style>
|
||||
p {
|
||||
width: 128px;
|
||||
background: gold;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
#hideme {
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p id=hideme>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
<p>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
</body>
|
||||
</html>
|
||||
|
17
tests/wpt/mozilla/tests/css/text_overflow_ref.html
Normal file
17
tests/wpt/mozilla/tests/css/text_overflow_ref.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p {
|
||||
width: 128px;
|
||||
background: gold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
<p>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
19
tests/wpt/mozilla/tests/css/vertical-lr-blocks.html
Normal file
19
tests/wpt/mozilla/tests/css/vertical-lr-blocks.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=vertical-lr-blocks_ref.html>
|
||||
<style>
|
||||
html { writing-mode: vertical-rl }
|
||||
body { margin: 10px }
|
||||
div { border: blue solid 5px; line-height: 30px; height: 500px }
|
||||
p { background: green; margin: 40px 20px }
|
||||
p + p { margin-top: 60px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
18
tests/wpt/mozilla/tests/css/vertical-lr-blocks_ref.html
Normal file
18
tests/wpt/mozilla/tests/css/vertical-lr-blocks_ref.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div { border: blue solid 5px; position: absolute;
|
||||
top: 10px; right: 10px; bottom: 10px; width: 120px; height: 500px }
|
||||
p { background: green; margin: 0; position: absolute;
|
||||
top: 40px; right: 20px; bottom: 40px; width: 30px }
|
||||
p + p { right: 70px; top: 60px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue