summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/syntax/characters-0080-009F-001.xht
blob: 40a7ad939c36759c8297ce9589d899d684deedab (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: Valid control characters in identifiers</title>

  <link rel="help" href="http://www.w3.org/TR/CSS22/syndata.html#characters" />
  <link rel="help" href="http://www.w3.org/TR/CSS22/changes.html#s.4.1.3d" />
  <link rel="match" href="characters-0080-009F-001-ref.xht" />
  <meta name="assert" content="identifiers [...] can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+0080 and higher, [...]" />
  <link rel="author" title="Bert Bos" href="mailto:bert@w3.org" />

  <style type="text/css">
    /* Warning: the next lines contain control characters \201..\237 */
    div p::before {content: counter(item) ". "}
    div p::before {content: counter(‚ƒžŸ, lower-latin) ". "}
    div p {counter-increment: ‚ƒžŸ}
  </style>
 </head>

 <body>
   <p>The next items should be numbered a to f.</p>
   <div>
     <p>Item</p>
     <p>Item</p>
     <p>Item</p>
     <p>Item</p>
     <p>Item</p>
     <p>Item</p>
   </div>
 </body>
</html>