summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box/flex-emulation-2.xhtml
blob: 3c1c71dccad4690700138abe286ca7209da19b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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:html="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <head>
    <style>
      hbox {
        width: 700px;
      }
      input {
        -moz-box-flex: 1;
      }
    </style>
  </head>
  <body>
    <xul:hbox>
      <xul:description>X</xul:description>
      <html:input flex="1" style="background: blue" value="X"/>
    </xul:hbox>
  </body>
</html>