291702-3.xul 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <window title="Negative flex bug #2"
  4. orient="vertical"
  5. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  6. <hbox>
  7. <button label="Button" flex="1073741823"/>
  8. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  9. <button label="Button" flex="1073741823"/>
  10. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  11. </hbox>
  12. <hbox>
  13. <button label="Button" flex="1073741824"/>
  14. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  15. <button label="Button" flex="1073741824"/>
  16. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  17. </hbox>
  18. <hbox>
  19. <button label="Button" flex="1073741825"/>
  20. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  21. <button label="Button" flex="1073741825"/>
  22. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  23. </hbox>
  24. <hbox>
  25. <button label="Button" flex="1073741823"/>
  26. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  27. <button label="Button" flex="1073741823"/>
  28. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  29. </hbox>
  30. <hbox>
  31. <button label="Button" flex="1073741823"/>
  32. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  33. <button label="Button" flex="1073741823"/>
  34. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  35. </hbox>
  36. <hbox>
  37. <button label="Button" flex="1073741824"/>
  38. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  39. <button label="Button" flex="1073741824"/>
  40. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  41. </hbox>
  42. <hbox>
  43. <button label="Button" flex="1073741824"/>
  44. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  45. <button label="Button" flex="1073741824"/>
  46. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  47. </hbox>
  48. <hbox>
  49. <button label="Button" flex="1073741825"/>
  50. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  51. <button label="Button" flex="1073741825"/>
  52. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  53. </hbox>
  54. <hbox>
  55. <button label="Button" flex="1073741825"/>
  56. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  57. <button label="Button" flex="1073741825"/>
  58. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  59. </hbox>
  60. <hbox>
  61. <button label="Button" flex="1073741823"/>
  62. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  63. <button label="Button" flex="1073741823"/>
  64. <label value="This is another label" style="-moz-box-flex: 1;"/>
  65. </hbox>
  66. <hbox>
  67. <button label="Button" flex="1073741824"/>
  68. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  69. <button label="Button" flex="1073741824"/>
  70. <label value="This is another label" style="-moz-box-flex: 1;"/>
  71. </hbox>
  72. <hbox>
  73. <button label="Button" flex="1073741825"/>
  74. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  75. <button label="Button" flex="1073741825"/>
  76. <label value="This is another label" style="-moz-box-flex: 1;"/>
  77. </hbox>
  78. <hbox>
  79. <button label="Button" flex="1073741823"/>
  80. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  81. <button label="Button" flex="1073741823"/>
  82. <label value="This is another label" style="-moz-box-flex: 2;"/>
  83. </hbox>
  84. <hbox>
  85. <button label="Button" flex="1073741824"/>
  86. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  87. <button label="Button" flex="1073741824"/>
  88. <label value="This is another label" style="-moz-box-flex: 2;"/>
  89. </hbox>
  90. <hbox>
  91. <button label="Button" flex="1073741825"/>
  92. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  93. <button label="Button" flex="1073741825"/>
  94. <label value="This is another label" style="-moz-box-flex: 2;"/>
  95. </hbox>
  96. <hbox>
  97. <button label="Button" flex="1073741823"/>
  98. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  99. <button label="Button" flex="1"/>
  100. <label value="This is another label" style="-moz-box-flex: 1;"/>
  101. </hbox>
  102. <hbox>
  103. <button label="Button" flex="1073741824"/>
  104. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  105. <button label="Button" flex="1"/>
  106. <label value="This is another label" style="-moz-box-flex: 1;"/>
  107. </hbox>
  108. <hbox>
  109. <button label="Button" flex="1073741825"/>
  110. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  111. <button label="Button" flex="1"/>
  112. <label value="This is another label" style="-moz-box-flex: 1;"/>
  113. </hbox>
  114. <hbox>
  115. <button label="Button" flex="1073741823"/>
  116. <label value="This is another label" style="-moz-box-flex: 1073741823;"/>
  117. <button label="Button" flex="2"/>
  118. <label value="This is another label" style="-moz-box-flex: 2;"/>
  119. </hbox>
  120. <hbox>
  121. <button label="Button" flex="1073741824"/>
  122. <label value="This is another label" style="-moz-box-flex: 1073741824;"/>
  123. <button label="Button" flex="2"/>
  124. <label value="This is another label" style="-moz-box-flex: 2;"/>
  125. </hbox>
  126. <hbox>
  127. <button label="Button" flex="1073741825"/>
  128. <label value="This is another label" style="-moz-box-flex: 1073741825;"/>
  129. <button label="Button" flex="2"/>
  130. <label value="This is another label" style="-moz-box-flex: 2;"/>
  131. </hbox>
  132. </window>