mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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
|
@ -13,12 +13,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
flaky_cpu == append_style_a.html append_style_b.html
|
||||
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
|
||||
|
||||
# inline_border_a.html inline_border_b.html
|
||||
flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
|
||||
# Fails intermittently (#3636)
|
||||
# == link_style_dynamic_addition.html link_style_dynamic_addition_ref.html
|
||||
# Should be == with expected failure. See #2797
|
||||
!= overconstrained_block.html overconstrained_block_ref.html
|
||||
# Should be ==?
|
||||
!= overflow_position_abs_inside_normal_a.html overflow_position_abs_inside_normal_b.html
|
||||
resolution=300x300,device-pixel-ratio=2 != pixel_snapping_border_a.html pixel_snapping_border_ref.html
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: blue;
|
||||
border: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span style="border: 10px black solid"><img width="100" style="border:10px red solid" src="test.jpeg"></span>
|
||||
<span style="background:red;font-size:35px;border: black 15px solid">
|
||||
<span style="font-size:15px;background:yellow">
|
||||
<img src="test.jpeg"/>
|
||||
</span>
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: blue;
|
||||
border: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><img src="inline_border_ref.png"></body>
|
||||
</html>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 278 KiB |
|
@ -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",
|
||||
|
|
|
@ -1,3 +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>
|
|
@ -1,5 +1,7 @@
|
|||
<html>
|
||||
<head></head>
|
||||
<head>
|
||||
<link rel=match href=link_style_dynamic_addition_ref.html>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var link = document.createElement("link");
|
|
@ -1,6 +1,7 @@
|
|||
<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 }
|
|
@ -7,9 +7,10 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p style="top: 20px; left: 70px"></p>
|
||||
<p style="top: 140px; left: 30px"></p>
|
||||
<p style="top: 260px; left: 120px"></p>
|
||||
<p style="top: 380px; left: -20px"></p>
|
||||
<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