layout/reftests/columns/fieldset-columns-001-ref.html
author Margareta Eliza Balazs <ebalazs@mozilla.com>
Thu, 11 Jan 2018 22:32:27 +0200
changeset 398876 0524b54f7f9dc0568a55b5d70fef4180d4cb1838
parent 276432 708e6a7b11e5fafe31ad10922e5598b24ce3d2b8
child 465354 1070ea9495a077fdf82f2dd3255fc2ee414b5687
permissions -rw-r--r--
Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE

<!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 div {
  -moz-columns: 2;
  -moz-column-fill: auto;
}
fieldset {
  border: 1px solid;
}
.rel {
  position: relative;
}
</style>
<fieldset style="overflow:hidden; width:300px; height:200px;">
  <legend>Legend</legend>
<div class="rel" style="-moz-columns: 2; width:100%; height:100%;">
  <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>
</div>
</fieldset>
<fieldset style="width:600px; height:7em; overflow:hidden">
  <legend>Legend</legend>
<div class="rel" style="-moz-columns: 3; -moz-column-gap:2em; -moz-column-rule:3px solid; -moz-column-width:3em; width:100%; height:100%">
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
<a></a><f style="left:120px"></f>
</div>
</fieldset>
<fieldset style="overflow:hidden; width:300px; height:2em;">
  <legend>Legend</legend>
<div>
  <p>X
<a></a><f style="left:140px"></f>
</div>
</fieldset>
<fieldset style="width:600px; height:2em">
  <legend>Legend</legend>
<div>
  <p>X
<a></a><f style="left:160px"></f>
</div>
</fieldset>

</body>
</html>