1 | 1 | XX XX
2 | 2 | XX
3 |  | XX XX
4 |  | PASS
| 3 | XXXX
| 4 | FAIL:
| 5 | Expected 5 for offsetLeft, but got 0.
| 6 | Expected 18 for offsetLeft, but got 100.
| 7 | Expected 5 for offsetLeft, but got 277.
| 8 | Expected 50 for offsetLeft, but got 188.
| 9 |
| 10 | <div id="container">
| 11 | XX
| 12 |
| 13 | <span class="relpos">
| 14 | <span class="pad" data-offset-x="5">XX</span>
| 15 | </span>
| 16 |
| 17 | <span class="relpos">
| 18 | <span class="pad" style="display: inline-block;">
| 19 | <div data-offset-x="18">XX</div>
| 20 | </span>
| 21 | </span>
| 22 |
| 23 | <span class="relpos">
| 24 | <span data-offset-x="5" class="pad" style="position: absolute">XX</span>
| 25 | </span>
| 26 |
| 27 | <span class="relpos">
| 28 | <span data-offset-x="50" class="pad" style="position: absolute; left: 50px">XX</span>
| 29 | </span>
| 30 | </div>