servo/tests/ref/overconstrained_block.html
Simon Sapin 7be30dee8e Fix some writing mode mismatch assertions errors.
The rendering is still wrong beause of #2795, but at least we get a rendering.

(This test change is just for readability, it should be equivalent to before.)
2014-12-18 17:15:51 +00:00

18 lines
559 B
HTML

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