blob: ead8ddc4b497329f88ecc182e7407058e051dfba [file] [log] [blame] [edit]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>CSS Test: Nested blocks in unexpected places</title>
<link rel="author" title="Ian Hickson" href="mailto:[email protected]"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/core-syntax/002.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors" />
<link rel="match" href="core-syntax-002-ref.xht"/>
<style type="text/css">
.instruct { color: black; background: white; }
p {
color: green;
/* no "}" */
span { color: yellow; background: red; }
.test { color: maroon; background: yellow; }
}
</style>
</head>
<body>
<p class="instruct">There must be no red.</p>
<p>This sentence <span>must</span> be <span class="test">green</span>.</p>
</body>
</html>