Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: Invalid Punctuation Escapes</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/"/>
<link rel="match" href="../reference/ref-green-background.xht"/>
<style type="text/css">
p.class#id { background: green; color: white; }
p\.class#id { background: red; }
p.class\#id { background: red; }
p.class#id { background\: red; }
p.class#id { background: red\; }
p.class#id \{ background: red; \}
p.class#id { background: red; }
</style>
</head>
<body>
<p class="class" id="id">This should have a green background.</p>
</body>
</html>