RetroZilla/layout/html/tests/formctls/base/fieldset_strict.html

46 lines
1.6 KiB
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>form sizing fieldset strict mode</title>
<style type="text/css">
.fixed {width:50px}
.tight {width:20px}
div {border:blue 1px solid}
.pct {width:10%}
.cellpct{width:100%}
.wide {width:200px}
</style>
</head>
<p>intrinsic width:</p>
<p><fieldset></fieldset></p>
<p>intrinsic width long nonbreakable text</p>
<p><fieldset>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</fieldset></p>
<p>fixed width</p>
<p><fieldset class="fixed"></fieldset></p>
<p>intrinsic width inside table</p>
<table border><tr><td><fieldset></fieldset></td></tr></table>
<p>intrinsic width inside tight table cell</p>
<table border><tr><td class="tight"><fieldset></fieldset></td></tr></table>
<p>fixed width inside table</p>
<table border><tr><td><fieldset class="fixed"></fieldset></td></tr></table>
<p>fixed width inside smaller table cell</p>
<table border><tr><td class="tight"><fieldset class="fixed"></fieldset></td></tr></table>
<p>pctwidth inside auto table</p>
<table border><tr><td><fieldset class="pct"></fieldset></td></tr></table>
<p>pct width inside fixed width table cell</p>
<table border><tr><td class="tight"><fieldset class="pct"></fieldset></td></tr></table>
<p>pct width inside pct width table cell</p>
<table border class="wide"><tr><td class="cellpct"><fieldset class="pct"></fieldset></td></tr></table>
<a href="select_strict.html">previous:&nbsp;&nbsp;select</a>&nbsp;&nbsp;&nbsp;<a href="legend_strict.html">next:&nbsp;&nbsp;legend</a>
</body>
</html>