Files
servo/tests/wpt/css-tests/css21_dev/html4/at-charset-013.htm

23 lines
933 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test: Stylesheet encoding via the referring document's encoding (user set)</title>
<link href="http://www.microsoft.com/" rel="author" title="Microsoft">
<link href="http://www.w3.org/TR/CSS21/syndata.html#charset" rel="help">
<meta content="interact HTMLonly" name="flags">
<meta content="The stylesheet's encoding is determined by the user set referring document's encoding." name="assert">
<style type="text/css">
@import "support/at-charset-013.css";
div
{
color: red;
}
</style>
</head>
<body>
<p>PREREQUISITE: Set the encoding of the page to "Shift-JIS".</p>
<p>Test passes if both lines of "Filler Text" below are green.</p>
<div class="&#24179;&#21644;">Filler Text</div>
<div id="div2">Filler Text</div>
</body></html>