haikuwebkit/LayoutTests/fast/block/positioning/rtl-static-positioning.html

15 lines
580 B
HTML

<!doctype html>
<html>
<body>
There should be a green 100x100 square below. If you see any red, then the test has failed.
<div style="position:relative; direction:rtl; border:20px solid transparent; padding:20px; width:300px; height:300px">
<div style="position:absolute;width:100px;height:100px;background-color:red; left:200px; top: 30px"></div>
<div style="border:10px solid transparent; padding-left:20px; padding-right:10px; width:200px; height:200px">
<span><div style="position:absolute;width:100px;height:100px;background-color:green"></div>
</div>
</div>