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

17 lines
623 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>
<span>
<div style="display:inline-block; border:10px solid transparent; padding-left:20px; padding-right:10px; width:200px; height:200px">
<div style="position:absolute;width:100px;height:100px;background-color:green"></div>
</div>
</span>
</div>