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