gecko/layout/html/tests/block/bugs/45621.html

38 lines
766 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<!--
<pre>
table width=50%
td nowrap
input width=100%
</pre>
<table border style="background: silver; width:50%;">
<tr>
<td border style="white-space: nowrap; background:#AABBFF;padding:8px;">
<input type="text" value="" style="width:100%;"></input>
</td>
</tr>
</table>
<br>
-->
<pre>
div width=50%, nowrap, border is outset/12px
input width=100%
(must be as wide as its parent area inside the border)
</pre>
<div style="width:50%;
white-space:normal;
border:12px outset;">
<input type="text" value="" style="width:100%;"></input>
</div>
</body>
</html>