mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
37 lines
1.7 KiB
HTML
37 lines
1.7 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>CSS Test: html utf8, css @charset iso1</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
|
@top-right { content: "Test character-encoding-004"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<link rel="author" title="Richard Ishida" href="http://rishida.net" />
|
|
<!-- placeholdercomment -->
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset" />
|
|
<link rel="alternate" href="http://www.w3.org/International/tests/tests-html-css/tests-character-encoding/generate?test=21" />
|
|
<meta name="flags" content="http" />
|
|
<meta name="assert" content="The user agent respects the encoding of a css stylesheet declared in an @charset rule." />
|
|
<style type="text/css">
|
|
/* the CSS below is not part of the test */
|
|
.test { font-size: 40px; }
|
|
.test img { vertical-align: middle; }
|
|
.test td { padding-right: 60px; }
|
|
</style>
|
|
<link rel="stylesheet" type="text/css" href="support/charset1.css" />
|
|
</head>
|
|
<body>
|
|
<p class="instructions">Test passes if there is a green rectangle below.</p>
|
|
|
|
|
|
<div class="test"><span class="ýäè">text</span></div>
|
|
|
|
|
|
<!--p class="notes">Notes: <br />The HTML page is served as UTF-8. The CSS file encoding is established as ISO 8859-1 using only an @charset rule.</p-->
|
|
</body>
|
|
</html> |