summaryrefslogtreecommitdiffstats
path: root/layout/reftests/list-item/ol-reversed-1b.html
blob: d9810560eb7f3f28618df9d267772bd0411a5fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<ol id="x">
  <li>Three</li>
  <li>Two</li>
  <li>One</li>
</ol>
<script>
  var l = document.getElementById("x");
  var w = l.offsetWidth;
  l.setAttribute("reversed", "");
</script>