1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Quotes set to 'inherit'</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-quotes">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#quotes-specify">
8 <meta name="flags" content="">
9 <meta name="assert" content="The quotes property set to 'inherit' correctly inherits the value from the patent element.">
10 <style type="text/css">
11 body
12 {
13 quotes: "P" "S" "A" "S";
14 }
15 div:before
16 {
17 content: open-quote open-quote;
18 }
19 div:after
20 {
21 content: close-quote close-quote;
22 }
23 body div
24 {
25 quotes: inherit;
26 }
27 div
28 {
29 quotes: "F" "L" "A" "I";
30 border: 2px solid black;
31 height: 30px;
32 }
33 </style>
34 </head>
35 <body>
36 <p>Test passes if the word "PASS" appears in the box below.</p>
37 <div></div>
38 </body>
39 </html>