layout/xul/crashtests/291702-3.xul
author Robert O'Callahan <robert@ocallahan.org>
Wed, 04 Dec 2013 14:06:16 +1300
changeset 158720 b5d2afd3716472ffd2c88a0055cf665391f5edb2
parent 24982 layout/xul/base/src/crashtests/291702-3.xul@b0337b6287f3517114bf78243c78b429e68894c4
permissions -rw-r--r--
Bug 945091. Part 3: Flatten layout/xul/base/* into layout/xul. r=glandium

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window title="Negative flex bug #2"
		orient="vertical"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  </hbox>

  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  </hbox>


  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 2;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 2;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 2;"/>
  </hbox>

  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="1"/>
    <label value="This is another label" style="-moz-box-flex: 1;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="1"/>
    <label value="This is another label" style="-moz-box-flex: 1;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="1"/>
    <label value="This is another label" style="-moz-box-flex: 1;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741823"/>
    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    <button label="Button" flex="2"/>
    <label value="This is another label" style="-moz-box-flex: 2;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741824"/>
    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    <button label="Button" flex="2"/>
    <label value="This is another label" style="-moz-box-flex: 2;"/>
  </hbox>
  <hbox>
    <button label="Button" flex="1073741825"/>
    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    <button label="Button" flex="2"/>
    <label value="This is another label" style="-moz-box-flex: 2;"/>
  </hbox>
</window>