summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/positioning/rtl-static-positioning.html
blob: f7c20e56588dcd49e30ba34f4f5092b9a42c6fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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>