blob: 2d82d7d4125420629786636f11a6f4931ec422de [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
/* Pack them to fit everything in 800*600 */
div > * {
padding: 5px;
width: 100px;
float: left;
}
</style>
</head>
<body>
<p>Verify style sharing does not ignore the "type" attribute.</p>
<div>
<div>No type</div>
<div style="background-color: red;">Type defined</div>
<div style="background-color: red;">Type defined empty</div>
<div style="background-color: blue;">Type is foobar</div>
</div>
<div>
<span>No type</span>
<span style="background-color: red;">Type defined</span>
<span style="background-color: red;">Type defined empty</span>
<span style="background-color: blue;">Type is foobar</span>
</div>
<div>
<input value="No type">
<input style="background-color: red;" value="Type defined">
<input style="background-color: red;" value="Type defined empty">
<input style="background-color: blue;" value="Type is foobar">
</div>
</body>
</html>