Files
servo/tests/wpt/css-tests/css21_dev/html4/escaped-ident-003.htm

22 lines
823 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Parsing escaped newlines within identifiers</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters">
<link rel="match" href="reference/no-red-filler-text-ref.htm">
<meta name="flags" content="invalid">
<meta name="assert" content="Newlines cannot be escaped within identifiers.">
<style type="text/css">
#my\
id
{
color: red;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<p id="myid">Filler Text</p>
</body>
</html>