summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/content-property/marker-text-matches-disc.html
blob: 300a82374898b0a03d7cde26b19b40e06d1f34b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>