summaryrefslogtreecommitdiffstats
path: root/layout/reftests/list-item/ol-reversed-1c.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/list-item/ol-reversed-1c.html')
-rw-r--r--layout/reftests/list-item/ol-reversed-1c.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/list-item/ol-reversed-1c.html b/layout/reftests/list-item/ol-reversed-1c.html
new file mode 100644
index 0000000000..82ae844335
--- /dev/null
+++ b/layout/reftests/list-item/ol-reversed-1c.html
@@ -0,0 +1,12 @@
+<!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>