summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/fieldset-columns-003.html
blob: 9fe4c9aec84e5ad8eb861c2d1c8f15d77117f5bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
  <style>
  fieldset.outer {
    column-count: 1;
    transform: rotate(180deg);
    width: 100px;
    height: 50px;
    border: 1px solid blue;
  }

  div.fixed {
    position: fixed;
    background: green;
  }
  </style>

  <!-- All the children under the fieldset should be upside down
       since 'transform' create a stacking context. -->
  <fieldset class="outer">
    <legend>Legend</legend>
    <div class="fixed">ABC</div>
  </fieldset>
</html>