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
content / test / data / accessibility / css / pseudo-with-code.html [blame]
<html>
<head><style>
div {
width: 100px;
}
code::before {
content: "[";
}
code::after {
content: "]";
}
b::before, i::after {
width: 5px;
height: 5px;
content: "";
display: block;
background: black;
}
</style></head>
<body>
<div>start</div>
<div>
text with <code>:before</code>
and <code>:after</code> content,
then a <b>bold</b> element with a
<code>block</code> before content
then a <i>italic</i> element with
a <code>block</code> after content
</div>
<div>end</div>
</body>
</html>