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

@ -1,18 +0,0 @@
<html>
<head>
<title>Block with over-contrained margins+borders+padding+width = containing block width</title>
<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>

View file

@ -1,15 +0,0 @@
<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: 70px"></p>
<p style="top: 140px; left: 30px"></p>
<p style="top: 260px; left: 120px"></p>
<p style="top: 380px; left: -20px"></p>
</body>
</html>