summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-circle.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-circle.html')
-rw-r--r--testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-circle.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-circle.html b/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-circle.html
new file mode 100644
index 0000000000..9ad6e7a01a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-circle.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: circle</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-circle-ref.html">
+<style>
+/*
+ Avoid using list-style:circle directly, because the spec allows the
+ rendering to deviate from the element's font.
+ https://drafts.csswg.org/css-counter-styles-3/#simple-symbolic
+*/
+@counter-style my-circle {
+ system: extends circle;
+}
+* {
+ padding: 0;
+ margin: 0;
+}
+ol {
+ list-style: my-circle inside;
+}
+</style>
+
+<ol>
+ <li>Filler Text</li>
+</ol>