diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-disc.html')
-rw-r--r-- | testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-disc.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-disc.html b/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-disc.html new file mode 100644 index 0000000000..300a823748 --- /dev/null +++ b/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-disc.html @@ -0,0 +1,26 @@ +<!doctype html> +<title>Inside list marker and normal text render identically: disc</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-disc-ref.html"> +<style> +/* + Avoid using list-style:disc 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-disc { + system: extends disc; +} +* { + padding: 0; + margin: 0; +} +ol { + list-style: my-disc inside; +} +</style> + +<ol> + <li>Filler Text</li> +</ol> |