summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/i18n/syndata/character-encoding-012.xht
blob: e6d3251100ae05690b75a5598b6803e618ed193a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>CSS Test: html utf8</title>
<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=29' />
<meta name='flags' content='http' />
<meta name="assert" content="The user agent applies the encoding of the HTML file to a css stylesheet whose encoding is not otherwise declared." />
<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/none.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 has no encoding set or BOM.</p-->
</body>
</html>