Move overconstrained_block.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-28 19:20:18 +01:00
parent facee849c2
commit ae6585da88
4 changed files with 30 additions and 6 deletions

View file

@ -13,8 +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
# 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

View file

@ -3247,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",
@ -8958,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",

View file

@ -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 }

View file

@ -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>