summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/change-list-style-position-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-lists/change-list-style-position-001.html')
-rw-r--r--testing/web-platform/tests/css/css-lists/change-list-style-position-001.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-lists/change-list-style-position-001.html b/testing/web-platform/tests/css/css-lists/change-list-style-position-001.html
new file mode 100644
index 0000000000..5f56ee76ff
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/change-list-style-position-001.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test the change of list-style-position</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="change-list-style-position-001-ref.html">
+
+<p>The test passes if you see the list marker followed by the text "inline" and "axxx" in a line below.</p>
+
+<ul>
+ <li>
+ <span>inline</span>
+ <div style="overflow:hidden;">
+ <span>a</span>xxx
+ </div>
+ </li>
+</ul>
+<script>
+ document.body.offsetHeight;
+ document.querySelector("li").style.listStylePosition = "inside";
+</script>