summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box/flex-emulation-5-ref.xhtml
blob: aa7b6e422eaa6ed97d939b704584caca2b27da08 (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
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <head>
    <style>
      .scroll {
        height: 100px;
        width: 100px;
        overflow: auto;
      }
      .scroll > vbox {
        width: 100px;
        height: 100px;
        background: green;
      }
      .scroll > vbox[collapsed] {
        border: 3px solid;
        padding: 6px;
        margin: 9px;
      }
    </style>
  </head>
  <body>
    <xul:vbox class="scroll">
      <xul:vbox/>
      <xul:vbox collapsed="true"/>
    </xul:vbox>
  </body>
</html>