servo/tests/wpt/css-tests/css-style-attr-1_dev/html4/style-attr-cascade-007.htm

22 lines
No EOL
986 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Style Attribute Inheritance</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="reviewer" title="Arron Eicholz" href="mailto:Arron.Eicholz@microsoft.com">
<link rel="match" href="reference/style-attr-cascade-007.htm">
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance">
<link rel="help" href="http://www.w3.org/TR/css-style-attr/#interpret">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="flags" content="image">
<meta name="assert" content="Iff a property inherits, it also inherits when declared via style attribute.">
<style type="text/css">
</style>
</head>
<body>
<div style="color: green; border-color: red;">
<p style="border-style: solid">
This sentence must be green with a green border.</p>
</div>
</body>
</html>