image-size.xul 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4. <hbox align="end">
  5. <image src="image4x3.png"/>
  6. <image src="image4x3.png" width="80" height="20"/>
  7. <image src="image4x3.png" width="10" height="70"/>
  8. <image src="image4x3.png" width="80"/>
  9. <image src="image4x3.png" height="60"/>
  10. <image src="image4x3.png" width="20"/>
  11. <image src="image4x3.png" height="15"/>
  12. <image src="image4x3.png" style="border: 8px solid green;"/>
  13. <image src="image4x3.png" width="80" style="border: 8px solid yellow;"/>
  14. <image src="image4x3.png" height="58" style="border: 8px solid green;"/>
  15. <image src="image4x3.png" width="24" style="border: 8px solid yellow;"/>
  16. <image src="image4x3.png" height="22" style="border: 8px solid green;"/>
  17. <image src="image4x3.png" width="74"
  18. style="border: 1px solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
  19. <image src="image4x3.png" height="11"
  20. style="border: 1px solid green; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
  21. </hbox>
  22. <hbox align="end">
  23. <image src="image4x3.png" style="width: auto; height: auto;"/>
  24. <image src="image4x3.png" style="width: 80px; height: 20px;"/>
  25. <image src="image4x3.png" style="width: 10px; height: 70px;"/>
  26. <image src="image4x3.png" style="width: 80px;"/>
  27. <image src="image4x3.png" style="height: 60px;"/>
  28. <image src="image4x3.png" style="width: 20px;"/>
  29. <image src="image4x3.png" style="height: 15px;"/>
  30. <image src="image4x3.png" style="width: 80px; height: 20px;" width="60" height="25"/>
  31. <image src="image4x3.png" style="width: 10px; height: 70px;" width="20" height="75"/>
  32. <image src="image4x3.png" style="width: 80px; padding: 8px;"/>
  33. <image src="image4x3.png" style="height: 58px; padding: 8px;"/>
  34. <image src="image4x3.png" style="width: 24px; padding: 8px;"/>
  35. <image src="image4x3.png" style="height: 22px; padding: 8px;"/>
  36. <image src="image4x3.png" style="width: 67px; padding: 4px 2px 8px 1px"/>
  37. <image src="image4x3.png" style="height: 18px; padding: 4px 2px 8px 1px"/>
  38. </hbox>
  39. <hbox align="end">
  40. <image src="image4x3.png" maxwidth="20"/>
  41. </hbox>
  42. <hbox align="end">
  43. <image src="image4x3.png" maxheight="15"/>
  44. </hbox>
  45. <hbox align="end">
  46. <image src="image4x3.png" maxwidth="30" maxheight="25"/>
  47. </hbox>
  48. <hbox align="end">
  49. <image src="image4x3.png" style="max-width: 20px;"/>
  50. </hbox>
  51. <hbox align="end">
  52. <image src="image4x3.png" style="max-height: 15px;"/>
  53. </hbox>
  54. <hbox align="end">
  55. <image src="image4x3.png" style="max-width: 30px; max-height: 25px;"/>
  56. </hbox>
  57. <hbox align="end">
  58. <image src="image4x3.png" maxwidth="24" style="border: 8px solid green;"/>
  59. </hbox>
  60. <hbox align="end">
  61. <image src="image4x3.png" maxheight="22" style="border: 8px solid green;"/>
  62. </hbox>
  63. <hbox align="end">
  64. <image src="image4x3.png" minwidth="20"/>
  65. <image src="image4x3.png" minheight="20"/>
  66. <image src="image4x3.png" minwidth="20" minheight="25"/>
  67. <image src="image4x3.png" minwidth="60" style="border: 8px solid green;"/>
  68. <image src="image4x3.png" minheight="88" style="border: 8px solid yellow;"/>
  69. <image src="image4x3.png" minwidth="90" minheight="76" style="border: 8px solid green;"/>
  70. <image src="image4x3.png" minwidth="112" minheight="76" style="border: 8px solid yellow;"/>
  71. <image src="image4x3.png" minwidth="106"
  72. style="border: 1px solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
  73. </hbox>
  74. <hbox align="end">
  75. <image src="image4x3.png" style="min-width: 60px;"/>
  76. <image src="image4x3.png" style="min-height: 90px;"/>
  77. <image src="image4x3.png" style="min-width 41px; min-height: 45px;"/>
  78. <image src="image4x3.png" style="min-width: 60px; padding: 8px;"/>
  79. <image src="image4x3.png" style="min-height: 88px; padding: 8px;"/>
  80. <image src="image4x3.png" style="min-width: 90px; min-height: 76px; padding: 8px;"/>
  81. <image src="image4x3.png" style="min-width: 112px; min-height: 76px; padding: 8px;"/>
  82. </hbox>
  83. <hbox align="start">
  84. <image style="width: auto; height: auto; list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px);"/>
  85. <image width="80" style="list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px);"/>
  86. <image height="30" style="list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px);"/>
  87. <image style="width: 10px; list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 21px, 5px);"/>
  88. <image style="height: 8px; list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 21px, 5px);"/>
  89. </hbox>
  90. <hbox align="end">
  91. <image maxwidth="20"
  92. style="list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px);"/>
  93. </hbox>
  94. <hbox align="end">
  95. <image maxheight="15"
  96. style="list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px);"/>
  97. </hbox>
  98. <hbox align="end">
  99. <image maxwidth="24"
  100. style="list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px); border: 8px solid green;"/>
  101. </hbox>
  102. <hbox align="end">
  103. <image maxheight="22"
  104. style="list-style-image: url(image4x3.png); -moz-image-region: rect(5px, 25px, 20px, 5px); border: 8px solid green;"/>
  105. </hbox>
  106. </window>