gecko-dev/layout/reftests/columns/fieldset-columns-001.html

73 строки
1.1 KiB
HTML

<!DOCTYPE HTML>
<html>
<body>
<style>
a {
position: absolute;
width: 10px;
height: 10px;
top: 0;
left: 0;
background: blue;
}
f {
position: fixed;
width: 10px;
height: 10px;
bottom: 0;
left: 100px;
background: lime;
}
fieldset {
columns: 2;
column-fill: auto;
border: 1px solid;
}
.rel {
position: relative;
}
</style>
<fieldset class="rel" style="overflow:hidden; width:300px; height:200px;">
<legend>Legend</legend>
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<a></a><f></f>
</fieldset>
<fieldset class="rel" style="columns: 3; column-gap:2em; column-rule:3px solid; column-width:3em; width:600px; height:7em">
<legend>Legend</legend>
<p>X
<p>X
<p>X
<p>X
<p>X
<p>X
<a></a><f style="left:120px"></f>
</fieldset>
<fieldset style="overflow:hidden; width:300px; height:2em;">
<legend>Legend</legend>
<p>X
<a></a><f style="left:140px"></f>
</fieldset>
<fieldset style="width:600px; height:2em">
<legend>Legend</legend>
<p>X
<a></a><f style="left:160px"></f>
</fieldset>
</body>
</html>