layout/xul/crashtests/291702-3.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/291702-3.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,137 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     1.6 +
     1.7 +<window title="Negative flex bug #2"
     1.8 +		orient="vertical"
     1.9 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.10 +  <hbox>
    1.11 +    <button label="Button" flex="1073741823"/>
    1.12 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.13 +    <button label="Button" flex="1073741823"/>
    1.14 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.15 +  </hbox>
    1.16 +  <hbox>
    1.17 +    <button label="Button" flex="1073741824"/>
    1.18 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.19 +    <button label="Button" flex="1073741824"/>
    1.20 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.21 +  </hbox>
    1.22 +  <hbox>
    1.23 +    <button label="Button" flex="1073741825"/>
    1.24 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.25 +    <button label="Button" flex="1073741825"/>
    1.26 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.27 +  </hbox>
    1.28 +
    1.29 +  <hbox>
    1.30 +    <button label="Button" flex="1073741823"/>
    1.31 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.32 +    <button label="Button" flex="1073741823"/>
    1.33 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.34 +  </hbox>
    1.35 +  <hbox>
    1.36 +    <button label="Button" flex="1073741823"/>
    1.37 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.38 +    <button label="Button" flex="1073741823"/>
    1.39 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.40 +  </hbox>
    1.41 +  <hbox>
    1.42 +    <button label="Button" flex="1073741824"/>
    1.43 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.44 +    <button label="Button" flex="1073741824"/>
    1.45 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.46 +  </hbox>
    1.47 +  <hbox>
    1.48 +    <button label="Button" flex="1073741824"/>
    1.49 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.50 +    <button label="Button" flex="1073741824"/>
    1.51 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.52 +  </hbox>
    1.53 +  <hbox>
    1.54 +    <button label="Button" flex="1073741825"/>
    1.55 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.56 +    <button label="Button" flex="1073741825"/>
    1.57 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.58 +  </hbox>
    1.59 +  <hbox>
    1.60 +    <button label="Button" flex="1073741825"/>
    1.61 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.62 +    <button label="Button" flex="1073741825"/>
    1.63 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.64 +  </hbox>
    1.65 +
    1.66 +
    1.67 +  <hbox>
    1.68 +    <button label="Button" flex="1073741823"/>
    1.69 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.70 +    <button label="Button" flex="1073741823"/>
    1.71 +    <label value="This is another label" style="-moz-box-flex: 1;"/>
    1.72 +  </hbox>
    1.73 +  <hbox>
    1.74 +    <button label="Button" flex="1073741824"/>
    1.75 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.76 +    <button label="Button" flex="1073741824"/>
    1.77 +    <label value="This is another label" style="-moz-box-flex: 1;"/>
    1.78 +  </hbox>
    1.79 +  <hbox>
    1.80 +    <button label="Button" flex="1073741825"/>
    1.81 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
    1.82 +    <button label="Button" flex="1073741825"/>
    1.83 +    <label value="This is another label" style="-moz-box-flex: 1;"/>
    1.84 +  </hbox>
    1.85 +  <hbox>
    1.86 +    <button label="Button" flex="1073741823"/>
    1.87 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
    1.88 +    <button label="Button" flex="1073741823"/>
    1.89 +    <label value="This is another label" style="-moz-box-flex: 2;"/>
    1.90 +  </hbox>
    1.91 +  <hbox>
    1.92 +    <button label="Button" flex="1073741824"/>
    1.93 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
    1.94 +    <button label="Button" flex="1073741824"/>
    1.95 +    <label value="This is another label" style="-moz-box-flex: 2;"/>
    1.96 +  </hbox>
    1.97 +  <hbox>
    1.98 +    <button label="Button" flex="1073741825"/>
    1.99 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
   1.100 +    <button label="Button" flex="1073741825"/>
   1.101 +    <label value="This is another label" style="-moz-box-flex: 2;"/>
   1.102 +  </hbox>
   1.103 +
   1.104 +  <hbox>
   1.105 +    <button label="Button" flex="1073741823"/>
   1.106 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
   1.107 +    <button label="Button" flex="1"/>
   1.108 +    <label value="This is another label" style="-moz-box-flex: 1;"/>
   1.109 +  </hbox>
   1.110 +  <hbox>
   1.111 +    <button label="Button" flex="1073741824"/>
   1.112 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
   1.113 +    <button label="Button" flex="1"/>
   1.114 +    <label value="This is another label" style="-moz-box-flex: 1;"/>
   1.115 +  </hbox>
   1.116 +  <hbox>
   1.117 +    <button label="Button" flex="1073741825"/>
   1.118 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
   1.119 +    <button label="Button" flex="1"/>
   1.120 +    <label value="This is another label" style="-moz-box-flex: 1;"/>
   1.121 +  </hbox>
   1.122 +  <hbox>
   1.123 +    <button label="Button" flex="1073741823"/>
   1.124 +    <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
   1.125 +    <button label="Button" flex="2"/>
   1.126 +    <label value="This is another label" style="-moz-box-flex: 2;"/>
   1.127 +  </hbox>
   1.128 +  <hbox>
   1.129 +    <button label="Button" flex="1073741824"/>
   1.130 +    <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
   1.131 +    <button label="Button" flex="2"/>
   1.132 +    <label value="This is another label" style="-moz-box-flex: 2;"/>
   1.133 +  </hbox>
   1.134 +  <hbox>
   1.135 +    <button label="Button" flex="1073741825"/>
   1.136 +    <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
   1.137 +    <button label="Button" flex="2"/>
   1.138 +    <label value="This is another label" style="-moz-box-flex: 2;"/>
   1.139 +  </hbox>
   1.140 +</window>

mercurial