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 with negative depth</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#content">
7 <meta name="flags" content="">
8 <meta name="assert" content="When a 'close-quote' makes the depth negative then depth stays at 0. Insertion of a quote does not occur but the remainder of the content string is inserted.">
9 <style type="text/css">
10 div:before
11 {
12 content: "PASS" close-quote;
13 }
14 div
15 {
16 quotes: 'FAIL' 'FAIL' 'FAIL' 'FAIL';
17 }
18 </style>
19 </head>
20 <body>
21 <p>Test passes if there are three instances of the word 'PASS' below. If there are any additional characters below this test fails.</p>
22 <div>
23 <div>
24 <div></div>
25 </div>
26 </div>
27 </body>
28 </html>