summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-font-properties.html
blob: 4dd780679845a34699f31febd927dc3b774a5ffd (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
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Test: ::marker formatting with font properties</title>
<link rel="author" title="Daniel Bates" href="mailto:dbates@webkit.org">
<link rel="match" href="marker-font-properties-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
<meta name="assert" content="Tests ::marker rendering with font properties">
<style>
ol {
    line-height: 30px;
}

li {
    list-style-type: lower-alpha;
}

li::marker, span {
    font-family: sans-serif;
    font-size: 24px;
    font-style: italic;
    font-variant: small-caps;
    font-weight: bold;
}
</style>
</head>
<body>
<ol>
    <li><span><!-- FIXME: Needed to ensure consistent baseline position with expected result in Chromium and WebKit (why?). --></span></li>
</ol>
</body>
</html>