servo/tests/wpt/css-tests/css-style-attr-1_dev/xhtml1/style-attr-braces-002-quirks.xht

19 lines
No EOL
851 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: Blocks in style attributes in quirks mode</title>
<link href="mailto:simonp@opera.com" rel="author" title="Simon Pieters" />
<link href="reference/ref-green-on-green.xht" rel="match" />
<link href="http://www.w3.org/TR/css-style-attr/#syntax" rel="help" />
<meta content="invalid" name="flags" />
<meta content="Style attribute values are the content of a
declaration block: the braces must not be included and are therefore invalid." name="assert" />
<style type="text/css">
p { background: lime; color: green; }
</style>
</head>
<body>
<p style="{color: red; background: red; }">
This sentence must be green on a green background.</p>
</body></html>