<!DOCTYPE html>
<html>
  <head><title>Test dir=rtl</title></head>
  <body style="background: white;">

    <div style="position: absolute; top: 5px; left: 5px;">
      <div style="width: 30px; height: 500px; background: black;"></div>
    </div>

  </body>
</html>