blob: e207fa7f2177dfa6af5c520deb796550bc878a20 [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 "readonly" attribute.</p>
<div>
<div>No readonly</div>
<div style="background-color: red;">Readonly defined</div>
<div style="background-color: red;">Readonly defined empty</div>
<div style="background-color: blue;">Readonly is foobar</div>
</div>
<div>
<span>No readonly</span>
<span style="background-color: red;">Readonly defined</span>
<span style="background-color: red;">Readonly defined empty</span>
<span style="background-color: blue;">Readonly is foobar</span>
</div>
<div>
<input value="No readonly">
<input readonly style="background-color: red;" value="Readonly defined">
<input readonly="" style="background-color: red;" value="Readonly defined empty">
<input readonly="foobar" style="background-color: blue;" value="Readonly is foobar">
</div>
</body>
</html>