haikuwebkit/LayoutTests/fast/css/readonly-attribute-style-sh...

35 lines
1.1 KiB
HTML

<!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 style="background-color: blue;">No readonly</div>
<div style="background-color: blue;">Readonly defined</div>
<div style="background-color: blue;">Readonly defined empty</div>
<div>Readonly is foobar</div>
</div>
<div>
<span style="background-color: blue;">No readonly</span>
<span style="background-color: blue;">Readonly defined</span>
<span style="background-color: blue;">Readonly defined empty</span>
<span>Readonly is foobar</span>
</div>
<div>
<input style="background-color: blue;" value="No readonly">
<input readonly style="background-color: blue;" value="Readonly defined">
<input readonly="" style="background-color: blue;" value="Readonly defined empty">
<input readonly="foobar" value="Readonly is foobar">
</div>
</body>
</html>