Source code

Revision control

Copy as Markdown

Other Tools

<?xml version="1.0" encoding='iso-8859-1'?>
<!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=iso-8859-1" /><title>CSS Test: html iso-8859-1, css bom and @charset utf8 (in uppercase)</title>
<link rel='author' title='Richard Ishida' href='http://rishida.net' />
<!-- placeholdercomment -->
<meta name='flags' content='http' />
<meta name="assert" content="When a stylesheet has a BOM and an @charset declaration that is for the right Unicode encoding, the stylesheet works." />
<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/bom-charsetutf8uc.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 ISO 8859-1. The CSS starts with a UTF-8 signature but also has an @charset rule declaring the encoding to be UTF-8.</p-->
</body>
</html>