summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/beforeSelectorOnCodeElement.html
blob: 6d6850447d9e264ef87de56dbdfb1dea89a422a1 (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
<html
<head>
<style>
    @font-face {
        font-family: '-webkit-monospace';
        src: local('Courier');
    }

    /* Match Mac OS X's font fallback behavior on Windows */

    @font-face {
        font-family: '-webkit-monospace';
        src: local('Lucida Grande');
        /* black square and white bullet */
        unicode-range: U+25A0, U+25E6;
    }

    code:before {
      content: counter(dummy,circle);
    }
    code:after {
      content: counter(dummy,square);
    }
</style>
</head>
<body>
<p>
The word "PASSED" should be shown below with a cirlce before and a square after. This is a test for WebKit bug <a href="http://bugs.webkit.org/show_bug.cgi?id=11197">11197</a>.
</p>
<code>PASSED</code>
</body>
</html>