at-charset-012.xht (1123B)
1 <?xml version="1.0" encoding="shift-JIS"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>CSS Test: Stylesheet encoding via the referring document's encoding (set)</title> 6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset" /> 8 <link rel="match" href="at-charset-001-ref.xht"/> 9 <meta name="assert" content="The stylesheet's encoding is determined by the set encoding of the referring document." /> 10 <meta http-equiv="Content-Type" content="text/html; charset=shift-JIS" /> 11 <style type="text/css"> 12 @import "support/at-charset-012.css"; 13 div 14 { 15 color: red; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if both lines of "Filler Text" below are green.</p> 21 <div class="平和">Filler Text</div> 22 <div id="div2">Filler Text</div> 23 </body> 24 </html>