File: character-encoding-014.xht

package info (click to toggle)
firefox-esr 115.14.0esr-1~deb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,659,200 kB
  • sloc: cpp: 6,676,648; javascript: 5,690,850; ansic: 3,328,545; python: 1,120,605; asm: 397,163; xml: 180,531; java: 178,838; sh: 68,930; makefile: 20,999; perl: 12,595; objc: 12,561; yacc: 4,583; cs: 3,846; pascal: 2,840; lex: 1,720; ruby: 1,079; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10
file content (29 lines) | stat: -rw-r--r-- 1,431 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-15'?>
<!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-15" /><title>CSS Test: html iso-8859-15, css bom</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=31' />
<meta name='flags' content='http' />
<meta name="assert" content="The user agent uses a UTF-8 signature without an @charset at the beginning of a css stylesheet to indicate that the encoding is UTF-8." />
<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.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-15. The CSS file encoding is established as utf-8 using only the presence of a UTF-8 signature.</p-->
</body>
</html>