summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-content-004-ref.html
blob: 3d706d9d622da5335a23947b7da86895bccd5aa8 (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>
<html>
<head>
<meta charset="utf-8">
<title>CSS Reference: ::marker pseudo elements styled with 'content' property and display:flex</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<style>
body { margin-left: 100px; }
li {
  list-style-type: 'FAIL';
  background: grey;
}
li::marker {
  content: "X";
  display: block;
  width: 100px;
  text-align: start;
  background: lime;
}
span { font-size: 32pt; }
</style>
</head>
<body>
<ol><li></li><li>B</li><li><span>C</span></li></ol>
</body>
</html>