mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Auto merge of #8736 - 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/8736) <!-- Reviewable:end -->
This commit is contained in:
commit
a27a15f94b
11 changed files with 82 additions and 58 deletions
|
@ -2719,6 +2719,30 @@
|
|||
"url": "/_mozilla/css/linebreak_inline_span_a.html"
|
||||
}
|
||||
],
|
||||
"css/linebreak_simple_a.html": [
|
||||
{
|
||||
"path": "css/linebreak_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/linebreak_simple_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/linebreak_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/link_style_dynamic_addition.html": [
|
||||
{
|
||||
"path": "css/link_style_dynamic_addition.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/link_style_dynamic_addition_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/link_style_dynamic_addition.html"
|
||||
}
|
||||
],
|
||||
"css/link_style_order.html": [
|
||||
{
|
||||
"path": "css/link_style_order.html",
|
||||
|
@ -3223,6 +3247,18 @@
|
|||
"url": "/_mozilla/css/outset_blackborder.html"
|
||||
}
|
||||
],
|
||||
"css/overconstrained_block.html": [
|
||||
{
|
||||
"path": "css/overconstrained_block.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/overconstrained_block_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/overconstrained_block.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_auto.html": [
|
||||
{
|
||||
"path": "css/overflow_auto.html",
|
||||
|
@ -8406,6 +8442,30 @@
|
|||
"url": "/_mozilla/css/linebreak_inline_span_a.html"
|
||||
}
|
||||
],
|
||||
"css/linebreak_simple_a.html": [
|
||||
{
|
||||
"path": "css/linebreak_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/linebreak_simple_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/linebreak_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/link_style_dynamic_addition.html": [
|
||||
{
|
||||
"path": "css/link_style_dynamic_addition.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/link_style_dynamic_addition_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/link_style_dynamic_addition.html"
|
||||
}
|
||||
],
|
||||
"css/link_style_order.html": [
|
||||
{
|
||||
"path": "css/link_style_order.html",
|
||||
|
@ -8910,6 +8970,18 @@
|
|||
"url": "/_mozilla/css/outset_blackborder.html"
|
||||
}
|
||||
],
|
||||
"css/overconstrained_block.html": [
|
||||
{
|
||||
"path": "css/overconstrained_block.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/overconstrained_block_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/overconstrained_block.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_auto.html": [
|
||||
{
|
||||
"path": "css/overflow_auto.html",
|
||||
|
|
4
tests/wpt/mozilla/tests/css/linebreak_simple_a.html
Normal file
4
tests/wpt/mozilla/tests/css/linebreak_simple_a.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<link rel=match href=linebreak_simple_b.html>
|
||||
<body style="width: 300px;">
|
||||
<p style="margin: 0px;">A <span>hahahahahhahahhahahhahahhahahhahahhahahhahahahhahah</span> <span>fruitloopsfruitloopsfruitloops</span>
|
||||
</body>
|
5
tests/wpt/mozilla/tests/css/linebreak_simple_b.html
Normal file
5
tests/wpt/mozilla/tests/css/linebreak_simple_b.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<body style="width: 300px;">
|
||||
<p style="margin: 0px;">A</p>
|
||||
<p style="margin: 0px;">hahahahahhahahhahahhahahhahahhahahhahahhahahahhahah</p>
|
||||
<p style="margin: 0px;">fruitloopsfruitloopsfruitloops</p>
|
||||
</body>
|
13
tests/wpt/mozilla/tests/css/link_style_dynamic_addition.html
Normal file
13
tests/wpt/mozilla/tests/css/link_style_dynamic_addition.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel=match href=link_style_dynamic_addition_ref.html>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var link = document.createElement("link");
|
||||
document.head.appendChild(link);
|
||||
link.setAttribute("rel", "stylesheet");
|
||||
link.setAttribute("href", "data:text/css,body{background:green}");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="data:text/css,body{background:green}">
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
19
tests/wpt/mozilla/tests/css/overconstrained_block.html
Normal file
19
tests/wpt/mozilla/tests/css/overconstrained_block.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Block with over-contrained margins+borders+padding+width = containing block width</title>
|
||||
<link rel=match href=overconstrained_block_ref.html>
|
||||
<style>
|
||||
body { width: 300px; margin: 0 0 0 400px }
|
||||
div:nth-child(even) { direction: rtl }
|
||||
div:nth-child(1) p, div:nth-child(2) p { margin: 20px 70px }
|
||||
div:nth-child(3) p, div:nth-child(4) p { margin: 20px 120px }
|
||||
p { background: green; width: 200px; height: 100px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><p></p></div>
|
||||
<div><p></p></div>
|
||||
<div><p></p></div>
|
||||
<div><p></p></div>
|
||||
</body>
|
||||
</html>
|
16
tests/wpt/mozilla/tests/css/overconstrained_block_ref.html
Normal file
16
tests/wpt/mozilla/tests/css/overconstrained_block_ref.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Block with over-contrained margins+borders+padding+width = containing block width</title>
|
||||
<style>
|
||||
body { width: 300px; margin: 0; }
|
||||
p { background: green; width: 200px; height: 100px; margin: 0; position: absolute }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p style="top: 20px; left: 470px"></p>
|
||||
<p style="top: 140px; left: 430px"></p>
|
||||
<p style="top: 260px; left: 520px"></p>
|
||||
<!-- https://github.com/servo/servo/issues/8721: should be left: 380px -->
|
||||
<p style="top: 380px; left: 360px"></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue