File: character-encoding-016.xht

package info (click to toggle)
thunderbird 1%3A140.4.0esr-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,609,432 kB
  • sloc: cpp: 7,672,442; javascript: 5,901,613; ansic: 3,898,954; python: 1,413,343; xml: 653,997; asm: 462,286; java: 180,927; sh: 113,489; makefile: 20,460; perl: 14,288; objc: 13,059; yacc: 4,583; pascal: 3,352; lex: 1,720; ruby: 1,222; exp: 762; sql: 715; awk: 580; php: 436; lisp: 430; sed: 70; csh: 10
file content (29 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download | duplicates (30)
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='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 -->
<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=33' />
<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>