gecko/layout/html/tests/formctls/base/fieldset_strict2.html

102 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<body>
<fieldset style="display: inline; width: 500px; height: 400px">
<legend>
bbb
</legend>
aaaa
</fieldset>
<fieldset style="display: inline">
<legend>
bbb
</legend>
aaaa
</fieldset>
<fieldset>
<legend>
bbb
</legend>
aaaa
</fieldset>
<fieldset style="width: 5px">
<legend>
bbb
</legend>
aaaa
</fieldset>
<fieldset style="width: 5px; float: left">
<legend>
bbb
</legend>
aaaa
</fieldset>
<fieldset style="width: 5px; position: absolute">
<legend>
bbb
</legend>
aaaa
</fieldset>
<fieldset>
<legend style="width: 200px; border: 2px solid red">
bbb
</legend>
aaaa
</fieldset>
<fieldset style="margin: auto; max-width: 600px">
<legend style="width: 50px">This is a test of the fieldset centering code, I believe</legend> Some actual text goes here.
</fieldset>
<fieldset style="width: 5px; margin: auto">
<legend style="width: 50px">This is a test of the fieldset centering code, I believe</legend> Some actual text goes here.
</fieldset>
<table border="1">
<tr> <td>
<fieldset style="width: 5px; margin: auto">
<legend style="width: 50px">This is a test of the fieldset centering code, I believe</legend> Some actual text goes here.
</fieldset>
</td> </tr>
</table>
<table border="1">
<tr> <td>
<fieldset style="width: 5px;">
<legend>Some long legend</legend> Some actual text goes here.
</fieldset>
</td> </tr>
</table>
<table border="1">
<tr> <td>
<fieldset style="margin: auto">
<legend style="width: 50px">This is a test of the fieldset centering code, I believe</legend> Some actual text goes here.
</fieldset>
</td> </tr>
</table>
<fieldset style="width: 5px">
<legend style="border: 2px solid red;">
Short
</legend>
LongLongLongLongLongLongLongLongLongLong
</fieldset>
<fieldset style="display: inline">
<legend style="border: 2px solid red; margin: 0 200px;">
Short
</legend>
LongLongLongLongLongLongLongLongLongLong
</fieldset>
</body>
</html>