blocks-001.xht (1483B)
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: Parsing nested blocks and strings in style blocks</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#block" /> 7 <link rel="match" href="blocks-001-ref.xht"/> 8 <meta name="flags" content="invalid" /> 9 <meta name="assert" content="Blocks and strings are parsed with matching terminating pairs." /> 10 <style type="text/css"> 11 div 12 { 13 \} 14 "string}\" }" #div1{color:red} 15 {}#div5{color: red} 16 ( 17 } 18 #div2{color: red} 19 ) 20 [ 21 } 22 #div3{color: red} 23 ] 24 [ 25 ( 26 ] 27 ) 28 } 29 #div4{color: red} 30 ] 31 } 32 </style> 33 </head> 34 <body> 35 <p>Test passes if there is no red visible on the page.</p> 36 <div id="div1">Filler Text</div> 37 <div id="div2">Filler Text</div> 38 <div id="div3">Filler Text</div> 39 <div id="div4">Filler Text</div> 40 <div id="div5">Filler Text</div> 41 </body> 42 </html>