quotes-negative-001.xht (1111B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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="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." /> 8 <style type="text/css"> 9 div:before 10 { 11 content: "PASS" close-quote; 12 } 13 div 14 { 15 quotes: 'FAIL' 'FAIL' 'FAIL' 'FAIL'; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if there are three instances of the word 'PASS' below. If there are any additional characters below this test fails.</p> 21 <div> 22 <div> 23 <div></div> 24 </div> 25 </div> 26 </body> 27 </html>