servo/tests/wpt/css-tests/css-style-attr-1_dev/html4/style-attr-braces-002-quirks.htm

19 lines
No EOL
722 B
HTML

<!DOCTYPE html>
<html><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.htm" 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>