Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/list-item/reftest.list
<!DOCTYPE html>
<ol id="x" reversed>
<li>Three</li>
<li>Two</li>
</ol>
<script>
var l = document.getElementById("x");
var w = l.offsetWidth;
var li = document.createElement("li");
li.textContent = "One"
l.appendChild(li);
</script>