ogre.rb 0.1-i686-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. data/README +79 -0
  2. data/Rakefile +288 -0
  3. data/doc_src/ogre.rb +246 -0
  4. data/doc_src/ois.rb +67 -0
  5. data/lib/application.rb +146 -0
  6. data/lib/application_frame_listener.rb +302 -0
  7. data/lib/application_loading_bar.rb +115 -0
  8. data/lib/constants.rb +51 -0
  9. data/lib/method_fixes.rb +42 -0
  10. data/lib/ogre.so +0 -0
  11. data/lib/ruby_ois.so +0 -0
  12. data/ogre.rb +25 -0
  13. data/platform.rb +23 -0
  14. data/samples/Ogre.log +261 -0
  15. data/samples/bsp.rb +76 -0
  16. data/samples/cg.dll +0 -0
  17. data/samples/grass.rb +325 -0
  18. data/samples/js3250.dll +0 -0
  19. data/samples/lighting.rb +138 -0
  20. data/samples/media/materials/programs/Grass.cg +30 -0
  21. data/samples/media/materials/programs/OffsetMapping.cg +97 -0
  22. data/samples/media/materials/programs/OffsetMapping.hlsl +135 -0
  23. data/samples/media/materials/programs/OffsetMappingFp.glsl +69 -0
  24. data/samples/media/materials/programs/OffsetMappingVp.glsl +54 -0
  25. data/samples/media/materials/programs/OffsetMapping_specular.asm +44 -0
  26. data/samples/media/materials/scripts/CloudySky.material +17 -0
  27. data/samples/media/materials/scripts/CubeMapping.material +34 -0
  28. data/samples/media/materials/scripts/Flare.material +17 -0
  29. data/samples/media/materials/scripts/Grass.material +63 -0
  30. data/samples/media/materials/scripts/Knot.material +14 -0
  31. data/samples/media/materials/scripts/MorningSkyBox.material +17 -0
  32. data/samples/media/materials/scripts/Offset.material +124 -0
  33. data/samples/media/materials/scripts/Ogre.material +119 -0
  34. data/samples/media/materials/scripts/RZR-002.material +15 -0
  35. data/samples/media/materials/scripts/Razor.material +14 -0
  36. data/samples/media/materials/scripts/Ribbon.material +19 -0
  37. data/samples/media/materials/scripts/RustySteel.material +14 -0
  38. data/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
  39. data/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
  40. data/samples/media/materials/scripts/TextureEffects.material +15 -0
  41. data/samples/media/materials/scripts/dragon.material +42 -0
  42. data/samples/media/materials/scripts/smoke.material +18 -0
  43. data/samples/media/materials/textures/GreenSkin.jpg +0 -0
  44. data/samples/media/materials/textures/MtlPlat2.jpg +0 -0
  45. data/samples/media/materials/textures/RZR-002.png +0 -0
  46. data/samples/media/materials/textures/RustedMetal.jpg +0 -0
  47. data/samples/media/materials/textures/RustySteel.jpg +0 -0
  48. data/samples/media/materials/textures/Water02.jpg +0 -0
  49. data/samples/media/materials/textures/WeirdEye.png +0 -0
  50. data/samples/media/materials/textures/clouds.jpg +0 -0
  51. data/samples/media/materials/textures/cursor.png +0 -0
  52. data/samples/media/materials/textures/dirt01.jpg +0 -0
  53. data/samples/media/materials/textures/flare.png +0 -0
  54. data/samples/media/materials/textures/gras_02.png +0 -0
  55. data/samples/media/materials/textures/grass_1024.jpg +0 -0
  56. data/samples/media/materials/textures/ogreborder.png +0 -0
  57. data/samples/media/materials/textures/ogreborderUp.png +0 -0
  58. data/samples/media/materials/textures/ribbonband.png +0 -0
  59. data/samples/media/materials/textures/rockwall.tga +0 -0
  60. data/samples/media/materials/textures/rockwall_NH.tga +0 -0
  61. data/samples/media/materials/textures/smoke.png +0 -0
  62. data/samples/media/materials/textures/smokecolors.png +0 -0
  63. data/samples/media/materials/textures/spacesky.jpg +0 -0
  64. data/samples/media/materials/textures/spheremap.png +0 -0
  65. data/samples/media/materials/textures/texmap2.jpg +0 -0
  66. data/samples/media/models/RZR-002.mesh +0 -0
  67. data/samples/media/models/geosphere4500.mesh +0 -0
  68. data/samples/media/models/geosphere8000.mesh +0 -0
  69. data/samples/media/models/knot.mesh +0 -0
  70. data/samples/media/models/ogrehead.mesh +0 -0
  71. data/samples/media/models/razor.mesh +0 -0
  72. data/samples/media/models/sphere.mesh +0 -0
  73. data/samples/media/overlays/CubeMapping.overlay +139 -0
  74. data/samples/media/packs/OgreCore.zip +0 -0
  75. data/samples/media/packs/chiropteraDM.pk3 +0 -0
  76. data/samples/media/packs/chiropteraDM.txt +99 -0
  77. data/samples/media/packs/cubemap.zip +0 -0
  78. data/samples/media/packs/cubemapsJS.zip +0 -0
  79. data/samples/media/packs/dragon.zip +0 -0
  80. data/samples/media/packs/skybox.zip +0 -0
  81. data/samples/media/particles/smoke.particle +43 -0
  82. data/samples/media.cfg +22 -0
  83. data/samples/navi/Media/NaviDemo.material +60 -0
  84. data/samples/navi/Media/OgreCore.zip +0 -0
  85. data/samples/navi/Media/cerulean.jpg +0 -0
  86. data/samples/navi/Media/clouds.jpg +0 -0
  87. data/samples/navi/Media/controlsNaviMask.png +0 -0
  88. data/samples/navi/Media/grass.jpg +0 -0
  89. data/samples/navi/Media/knot.mesh +0 -0
  90. data/samples/navi/Media/testNaviMask.png +0 -0
  91. data/samples/navi/NaviLocal/Navi.js +136 -0
  92. data/samples/navi/NaviLocal/buttonBg.jpg +0 -0
  93. data/samples/navi/NaviLocal/controls.html +303 -0
  94. data/samples/navi/NaviLocal/knobBg.jpg +0 -0
  95. data/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
  96. data/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
  97. data/samples/navi/NaviLocal/naviLogo.html +32 -0
  98. data/samples/navi/NaviLocal/naviLogo.png +0 -0
  99. data/samples/navi/NaviLocal/pageBg.jpg +0 -0
  100. data/samples/navi/NaviLocal/sliderBg.jpg +0 -0
  101. data/samples/navi/NaviLocal/test.html +5 -0
  102. data/samples/navi/NaviLocal/welcome.html +36 -0
  103. data/samples/navi/NaviLocal/welcome.png +0 -0
  104. data/samples/navi/chrome/chromelist.txt +597 -0
  105. data/samples/navi/chrome/classic.jar +0 -0
  106. data/samples/navi/chrome/classic.manifest +4 -0
  107. data/samples/navi/chrome/comm.jar +0 -0
  108. data/samples/navi/chrome/comm.manifest +2 -0
  109. data/samples/navi/chrome/en-US.jar +0 -0
  110. data/samples/navi/chrome/en-US.manifest +9 -0
  111. data/samples/navi/chrome/toolkit.jar +0 -0
  112. data/samples/navi/chrome/toolkit.manifest +6 -0
  113. data/samples/navi/components/FeedProcessor.js +1825 -0
  114. data/samples/navi/components/alerts.xpt +0 -0
  115. data/samples/navi/components/appshell.xpt +0 -0
  116. data/samples/navi/components/appstartup.xpt +0 -0
  117. data/samples/navi/components/auth.dll +0 -0
  118. data/samples/navi/components/autocomplete.xpt +0 -0
  119. data/samples/navi/components/autoconfig.dll +0 -0
  120. data/samples/navi/components/autoconfig.xpt +0 -0
  121. data/samples/navi/components/caps.xpt +0 -0
  122. data/samples/navi/components/chardet.xpt +0 -0
  123. data/samples/navi/components/chrome.xpt +0 -0
  124. data/samples/navi/components/commandhandler.xpt +0 -0
  125. data/samples/navi/components/commandlines.xpt +0 -0
  126. data/samples/navi/components/composer.xpt +0 -0
  127. data/samples/navi/components/compreg.dat +1474 -0
  128. data/samples/navi/components/content_base.xpt +0 -0
  129. data/samples/navi/components/content_html.xpt +0 -0
  130. data/samples/navi/components/content_htmldoc.xpt +0 -0
  131. data/samples/navi/components/content_xmldoc.xpt +0 -0
  132. data/samples/navi/components/content_xslt.xpt +0 -0
  133. data/samples/navi/components/content_xtf.xpt +0 -0
  134. data/samples/navi/components/directory.xpt +0 -0
  135. data/samples/navi/components/docshell_base.xpt +0 -0
  136. data/samples/navi/components/dom.xpt +0 -0
  137. data/samples/navi/components/dom_base.xpt +0 -0
  138. data/samples/navi/components/dom_canvas.xpt +0 -0
  139. data/samples/navi/components/dom_core.xpt +0 -0
  140. data/samples/navi/components/dom_css.xpt +0 -0
  141. data/samples/navi/components/dom_events.xpt +0 -0
  142. data/samples/navi/components/dom_html.xpt +0 -0
  143. data/samples/navi/components/dom_loadsave.xpt +0 -0
  144. data/samples/navi/components/dom_range.xpt +0 -0
  145. data/samples/navi/components/dom_sidebar.xpt +0 -0
  146. data/samples/navi/components/dom_storage.xpt +0 -0
  147. data/samples/navi/components/dom_stylesheets.xpt +0 -0
  148. data/samples/navi/components/dom_svg.xpt +0 -0
  149. data/samples/navi/components/dom_traversal.xpt +0 -0
  150. data/samples/navi/components/dom_views.xpt +0 -0
  151. data/samples/navi/components/dom_xbl.xpt +0 -0
  152. data/samples/navi/components/dom_xpath.xpt +0 -0
  153. data/samples/navi/components/dom_xul.xpt +0 -0
  154. data/samples/navi/components/downloads.xpt +0 -0
  155. data/samples/navi/components/editor.xpt +0 -0
  156. data/samples/navi/components/embed_base.xpt +0 -0
  157. data/samples/navi/components/extensions.xpt +0 -0
  158. data/samples/navi/components/exthandler.xpt +0 -0
  159. data/samples/navi/components/fastfind.xpt +0 -0
  160. data/samples/navi/components/feeds.xpt +0 -0
  161. data/samples/navi/components/find.xpt +0 -0
  162. data/samples/navi/components/gfx.xpt +0 -0
  163. data/samples/navi/components/gksvgrenderer.xpt +0 -0
  164. data/samples/navi/components/history.xpt +0 -0
  165. data/samples/navi/components/htmlparser.xpt +0 -0
  166. data/samples/navi/components/imglib2.xpt +0 -0
  167. data/samples/navi/components/inspector.xpt +0 -0
  168. data/samples/navi/components/intl.xpt +0 -0
  169. data/samples/navi/components/intlcmpt.xpt +0 -0
  170. data/samples/navi/components/jar.xpt +0 -0
  171. data/samples/navi/components/jsconsole-clhandler.js +170 -0
  172. data/samples/navi/components/jsconsole.xpt +0 -0
  173. data/samples/navi/components/jsdservice.xpt +0 -0
  174. data/samples/navi/components/layout_base.xpt +0 -0
  175. data/samples/navi/components/layout_printing.xpt +0 -0
  176. data/samples/navi/components/layout_xul.xpt +0 -0
  177. data/samples/navi/components/layout_xul_tree.xpt +0 -0
  178. data/samples/navi/components/locale.xpt +0 -0
  179. data/samples/navi/components/lwbrk.xpt +0 -0
  180. data/samples/navi/components/mimetype.xpt +0 -0
  181. data/samples/navi/components/mozbrwsr.xpt +0 -0
  182. data/samples/navi/components/mozfind.xpt +0 -0
  183. data/samples/navi/components/necko.xpt +0 -0
  184. data/samples/navi/components/necko_about.xpt +0 -0
  185. data/samples/navi/components/necko_cache.xpt +0 -0
  186. data/samples/navi/components/necko_cookie.xpt +0 -0
  187. data/samples/navi/components/necko_data.xpt +0 -0
  188. data/samples/navi/components/necko_dns.xpt +0 -0
  189. data/samples/navi/components/necko_file.xpt +0 -0
  190. data/samples/navi/components/necko_ftp.xpt +0 -0
  191. data/samples/navi/components/necko_http.xpt +0 -0
  192. data/samples/navi/components/necko_res.xpt +0 -0
  193. data/samples/navi/components/necko_socket.xpt +0 -0
  194. data/samples/navi/components/necko_strconv.xpt +0 -0
  195. data/samples/navi/components/necko_viewsource.xpt +0 -0
  196. data/samples/navi/components/nsCloseAllWindows.js +143 -0
  197. data/samples/navi/components/nsDefaultCLH.js +231 -0
  198. data/samples/navi/components/nsDictionary.js +148 -0
  199. data/samples/navi/components/nsExtensionManager.js +8497 -0
  200. data/samples/navi/components/nsHelperAppDlg.js +990 -0
  201. data/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
  202. data/samples/navi/components/nsKillAll.js +200 -0
  203. data/samples/navi/components/nsPostUpdateWin.js +711 -0
  204. data/samples/navi/components/nsProgressDialog.js +949 -0
  205. data/samples/navi/components/nsProxyAutoConfig.js +396 -0
  206. data/samples/navi/components/nsResetPref.js +175 -0
  207. data/samples/navi/components/nsURLFormatter.js +179 -0
  208. data/samples/navi/components/nsUpdateService.js +3074 -0
  209. data/samples/navi/components/nsXULAppInstall.js +301 -0
  210. data/samples/navi/components/nsXmlRpcClient.js +1038 -0
  211. data/samples/navi/components/oji.xpt +0 -0
  212. data/samples/navi/components/passwordmgr.xpt +0 -0
  213. data/samples/navi/components/pipboot.xpt +0 -0
  214. data/samples/navi/components/pipnss.xpt +0 -0
  215. data/samples/navi/components/plugin.xpt +0 -0
  216. data/samples/navi/components/pref.xpt +0 -0
  217. data/samples/navi/components/prefetch.xpt +0 -0
  218. data/samples/navi/components/profile.xpt +0 -0
  219. data/samples/navi/components/progressDlg.xpt +0 -0
  220. data/samples/navi/components/proxyObject.xpt +0 -0
  221. data/samples/navi/components/rdf.xpt +0 -0
  222. data/samples/navi/components/satchel.xpt +0 -0
  223. data/samples/navi/components/saxparser.xpt +0 -0
  224. data/samples/navi/components/shistory.xpt +0 -0
  225. data/samples/navi/components/storage.xpt +0 -0
  226. data/samples/navi/components/toolkitprofile.xpt +0 -0
  227. data/samples/navi/components/transformiix.dll +0 -0
  228. data/samples/navi/components/txmgr.xpt +0 -0
  229. data/samples/navi/components/txtsvc.xpt +0 -0
  230. data/samples/navi/components/uconv.xpt +0 -0
  231. data/samples/navi/components/unicharutil.xpt +0 -0
  232. data/samples/navi/components/universalchardet.dll +0 -0
  233. data/samples/navi/components/update.xpt +0 -0
  234. data/samples/navi/components/uriloader.xpt +0 -0
  235. data/samples/navi/components/urlformatter.xpt +0 -0
  236. data/samples/navi/components/webBrowser_core.xpt +0 -0
  237. data/samples/navi/components/webbrowserpersist.xpt +0 -0
  238. data/samples/navi/components/webshell_idls.xpt +0 -0
  239. data/samples/navi/components/websrvcs.dll +0 -0
  240. data/samples/navi/components/websrvcs.xpt +0 -0
  241. data/samples/navi/components/widget.xpt +0 -0
  242. data/samples/navi/components/windowds.xpt +0 -0
  243. data/samples/navi/components/windowwatcher.xpt +0 -0
  244. data/samples/navi/components/xml-rpc.xpt +0 -0
  245. data/samples/navi/components/xmlextras.dll +0 -0
  246. data/samples/navi/components/xpcom_base.xpt +0 -0
  247. data/samples/navi/components/xpcom_components.xpt +0 -0
  248. data/samples/navi/components/xpcom_ds.xpt +0 -0
  249. data/samples/navi/components/xpcom_io.xpt +0 -0
  250. data/samples/navi/components/xpcom_obsolete.xpt +0 -0
  251. data/samples/navi/components/xpcom_thread.xpt +0 -0
  252. data/samples/navi/components/xpcom_xpti.xpt +0 -0
  253. data/samples/navi/components/xpconnect.xpt +0 -0
  254. data/samples/navi/components/xpinstall.xpt +0 -0
  255. data/samples/navi/components/xpti.dat +1424 -0
  256. data/samples/navi/components/xulapp.xpt +0 -0
  257. data/samples/navi/components/xulapp_setup.xpt +0 -0
  258. data/samples/navi/components/xuldoc.xpt +0 -0
  259. data/samples/navi/components/xulrunner.xpt +0 -0
  260. data/samples/navi/components/xultmpl.xpt +0 -0
  261. data/samples/navi/components/xulutil.dll +0 -0
  262. data/samples/navi/controlsNaviMask.png +0 -0
  263. data/samples/navi/greprefs/all.js +1344 -0
  264. data/samples/navi/greprefs/security-prefs.js +69 -0
  265. data/samples/navi/greprefs/xpinstall.js +2 -0
  266. data/samples/navi/navi_demo.rb +207 -0
  267. data/samples/navi/plugins/NPSWF32.dll +0 -0
  268. data/samples/navi/plugins/flashplayer.xpt +0 -0
  269. data/samples/navi/plugins/npnul32.dll +0 -0
  270. data/samples/navi/plugins.cfg +10 -0
  271. data/samples/navi/res/EditorOverride.css +359 -0
  272. data/samples/navi/res/Thumbs.db +0 -0
  273. data/samples/navi/res/arrow.gif +0 -0
  274. data/samples/navi/res/arrowd.gif +0 -0
  275. data/samples/navi/res/bloatcycle.html +40 -0
  276. data/samples/navi/res/broken-image.gif +0 -0
  277. data/samples/navi/res/charsetData.properties +199 -0
  278. data/samples/navi/res/charsetalias.properties +517 -0
  279. data/samples/navi/res/cmessage.txt +1 -0
  280. data/samples/navi/res/dtd/xhtml11.dtd +300 -0
  281. data/samples/navi/res/entityTables/html40Latin1.properties +146 -0
  282. data/samples/navi/res/entityTables/html40Special.properties +69 -0
  283. data/samples/navi/res/entityTables/html40Symbols.properties +164 -0
  284. data/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
  285. data/samples/navi/res/entityTables/transliterate.properties +2367 -0
  286. data/samples/navi/res/fonts/fontEncoding.properties +127 -0
  287. data/samples/navi/res/fonts/fontNameMap.properties +134 -0
  288. data/samples/navi/res/forms.css +531 -0
  289. data/samples/navi/res/grabber.gif +0 -0
  290. data/samples/navi/res/hiddenWindow.html +1 -0
  291. data/samples/navi/res/html/Thumbs.db +0 -0
  292. data/samples/navi/res/html/gopher-audio.gif +0 -0
  293. data/samples/navi/res/html/gopher-binary.gif +0 -0
  294. data/samples/navi/res/html/gopher-find.gif +0 -0
  295. data/samples/navi/res/html/gopher-image.gif +0 -0
  296. data/samples/navi/res/html/gopher-menu.gif +0 -0
  297. data/samples/navi/res/html/gopher-movie.gif +0 -0
  298. data/samples/navi/res/html/gopher-sound.gif +0 -0
  299. data/samples/navi/res/html/gopher-telnet.gif +0 -0
  300. data/samples/navi/res/html/gopher-text.gif +0 -0
  301. data/samples/navi/res/html/gopher-unknown.gif +0 -0
  302. data/samples/navi/res/html.css +478 -0
  303. data/samples/navi/res/langGroups.properties +236 -0
  304. data/samples/navi/res/language.properties +259 -0
  305. data/samples/navi/res/loading-image.gif +0 -0
  306. data/samples/navi/res/quirk.css +282 -0
  307. data/samples/navi/res/samples/Anieyes.gif +0 -0
  308. data/samples/navi/res/samples/Thumbs.db +0 -0
  309. data/samples/navi/res/samples/aform.css +69 -0
  310. data/samples/navi/res/samples/beeptest.html +18 -0
  311. data/samples/navi/res/samples/bform.css +45 -0
  312. data/samples/navi/res/samples/bg.jpg +0 -0
  313. data/samples/navi/res/samples/cform.css +40 -0
  314. data/samples/navi/res/samples/checkboxTest.xul +47 -0
  315. data/samples/navi/res/samples/demoform.css +97 -0
  316. data/samples/navi/res/samples/find.html +97 -0
  317. data/samples/navi/res/samples/gear1.gif +0 -0
  318. data/samples/navi/res/samples/image_props.html +58 -0
  319. data/samples/navi/res/samples/mozform.css +256 -0
  320. data/samples/navi/res/samples/printsetup.html +175 -0
  321. data/samples/navi/res/samples/raptor.jpg +0 -0
  322. data/samples/navi/res/samples/rock_gra.gif +0 -0
  323. data/samples/navi/res/samples/scrollbarTest1.xul +66 -0
  324. data/samples/navi/res/samples/scrollbarTest2.xul +19 -0
  325. data/samples/navi/res/samples/sliderTest1.xul +14 -0
  326. data/samples/navi/res/samples/soundtest.html +20 -0
  327. data/samples/navi/res/samples/test.wav +0 -0
  328. data/samples/navi/res/samples/test0.html +220 -0
  329. data/samples/navi/res/samples/test1.html +84 -0
  330. data/samples/navi/res/samples/test10.html +16 -0
  331. data/samples/navi/res/samples/test11.html +42 -0
  332. data/samples/navi/res/samples/test12.html +79 -0
  333. data/samples/navi/res/samples/test13.html +126 -0
  334. data/samples/navi/res/samples/test14.html +5 -0
  335. data/samples/navi/res/samples/test15.html +5 -0
  336. data/samples/navi/res/samples/test16.html +124 -0
  337. data/samples/navi/res/samples/test2.html +41 -0
  338. data/samples/navi/res/samples/test3.html +126 -0
  339. data/samples/navi/res/samples/test4.html +335 -0
  340. data/samples/navi/res/samples/test5.html +199 -0
  341. data/samples/navi/res/samples/test6.html +335 -0
  342. data/samples/navi/res/samples/test7.html +11 -0
  343. data/samples/navi/res/samples/test8-1.html +66 -0
  344. data/samples/navi/res/samples/test8.html +662 -0
  345. data/samples/navi/res/samples/test8dom.html +64 -0
  346. data/samples/navi/res/samples/test8sca.html +308 -0
  347. data/samples/navi/res/samples/test8siz.html +224 -0
  348. data/samples/navi/res/samples/test8tab.html +9 -0
  349. data/samples/navi/res/samples/test9.html +12 -0
  350. data/samples/navi/res/samples/test9a.html +39 -0
  351. data/samples/navi/res/samples/test9b.html +16 -0
  352. data/samples/navi/res/samples/test_ed.html +5 -0
  353. data/samples/navi/res/samples/test_form.html +34 -0
  354. data/samples/navi/res/samples/test_gfx.html +75 -0
  355. data/samples/navi/res/samples/test_lbox.html +100 -0
  356. data/samples/navi/res/samples/test_pr.html +87 -0
  357. data/samples/navi/res/samples/test_weight.html +45 -0
  358. data/samples/navi/res/samples/toolbarTest1.xul +51 -0
  359. data/samples/navi/res/samples/treeTest1.css +62 -0
  360. data/samples/navi/res/samples/treeTest1.xul +110 -0
  361. data/samples/navi/res/samples/xulTest.css +130 -0
  362. data/samples/navi/res/svg.css +64 -0
  363. data/samples/navi/res/table-add-column-after-active.gif +0 -0
  364. data/samples/navi/res/table-add-column-after-hover.gif +0 -0
  365. data/samples/navi/res/table-add-column-after.gif +0 -0
  366. data/samples/navi/res/table-add-column-before-active.gif +0 -0
  367. data/samples/navi/res/table-add-column-before-hover.gif +0 -0
  368. data/samples/navi/res/table-add-column-before.gif +0 -0
  369. data/samples/navi/res/table-add-row-after-active.gif +0 -0
  370. data/samples/navi/res/table-add-row-after-hover.gif +0 -0
  371. data/samples/navi/res/table-add-row-after.gif +0 -0
  372. data/samples/navi/res/table-add-row-before-active.gif +0 -0
  373. data/samples/navi/res/table-add-row-before-hover.gif +0 -0
  374. data/samples/navi/res/table-add-row-before.gif +0 -0
  375. data/samples/navi/res/table-remove-column-active.gif +0 -0
  376. data/samples/navi/res/table-remove-column-hover.gif +0 -0
  377. data/samples/navi/res/table-remove-column.gif +0 -0
  378. data/samples/navi/res/table-remove-row-active.gif +0 -0
  379. data/samples/navi/res/table-remove-row-hover.gif +0 -0
  380. data/samples/navi/res/table-remove-row.gif +0 -0
  381. data/samples/navi/res/throbber/Thumbs.db +0 -0
  382. data/samples/navi/res/throbber/anim.gif +0 -0
  383. data/samples/navi/res/throbber/anims00.gif +0 -0
  384. data/samples/navi/res/throbber/anims01.gif +0 -0
  385. data/samples/navi/res/throbber/anims02.gif +0 -0
  386. data/samples/navi/res/throbber/anims03.gif +0 -0
  387. data/samples/navi/res/throbber/anims04.gif +0 -0
  388. data/samples/navi/res/throbber/anims05.gif +0 -0
  389. data/samples/navi/res/throbber/anims06.gif +0 -0
  390. data/samples/navi/res/throbber/anims07.gif +0 -0
  391. data/samples/navi/res/throbber/anims08.gif +0 -0
  392. data/samples/navi/res/throbber/anims09.gif +0 -0
  393. data/samples/navi/res/throbber/anims10.gif +0 -0
  394. data/samples/navi/res/throbber/anims11.gif +0 -0
  395. data/samples/navi/res/throbber/anims12.gif +0 -0
  396. data/samples/navi/res/throbber/anims13.gif +0 -0
  397. data/samples/navi/res/throbber/anims14.gif +0 -0
  398. data/samples/navi/res/throbber/anims15.gif +0 -0
  399. data/samples/navi/res/throbber/anims16.gif +0 -0
  400. data/samples/navi/res/throbber/anims17.gif +0 -0
  401. data/samples/navi/res/throbber/anims18.gif +0 -0
  402. data/samples/navi/res/throbber/anims19.gif +0 -0
  403. data/samples/navi/res/throbber/anims20.gif +0 -0
  404. data/samples/navi/res/throbber/anims21.gif +0 -0
  405. data/samples/navi/res/throbber/anims22.gif +0 -0
  406. data/samples/navi/res/throbber/anims23.gif +0 -0
  407. data/samples/navi/res/throbber/anims24.gif +0 -0
  408. data/samples/navi/res/throbber/anims25.gif +0 -0
  409. data/samples/navi/res/throbber/anims26.gif +0 -0
  410. data/samples/navi/res/throbber/anims27.gif +0 -0
  411. data/samples/navi/res/throbber/anims28.gif +0 -0
  412. data/samples/navi/res/throbber/anims29.gif +0 -0
  413. data/samples/navi/res/ua.css +235 -0
  414. data/samples/navi/res/viewer.properties +1 -0
  415. data/samples/navi/res/viewsource.css +118 -0
  416. data/samples/navi/res/wincharset.properties +55 -0
  417. data/samples/navi/resources.cfg +14 -0
  418. data/samples/navi/testNaviMask.png +0 -0
  419. data/samples/ogre.cfg +8 -0
  420. data/samples/plugins.cfg +11 -0
  421. data/samples/quake3settings.cfg +2 -0
  422. data/samples/render_run_log.5796 +891 -0
  423. data/samples/render_to_texture.rb +161 -0
  424. data/samples/resources.cfg +16 -0
  425. data/samples/sky_box.rb +107 -0
  426. data/samples/sky_dome.rb +86 -0
  427. data/samples/sky_plane.rb +27 -0
  428. data/samples/smoke.rb +23 -0
  429. data/samples/work/cube_mapping.rb +686 -0
  430. metadata +500 -0
@@ -0,0 +1,662 @@
1
+ <html>
2
+ <head>
3
+ <title>Example 8</title>
4
+ <style>
5
+ INPUT#input1 {
6
+ font-size: large;
7
+ }
8
+ INPUT#input2 {
9
+ font-size: medium;
10
+ }
11
+ TEXTAREA#textarea1 {
12
+ width: 300px;
13
+ height: 120px;
14
+ font-size: large;
15
+ }
16
+ SELECT#select1 {
17
+ font-size: large;
18
+ }
19
+
20
+ </style>
21
+ <meta name="crc" content=230811735>
22
+ </head>
23
+ <body>
24
+
25
+ <H1>Example 8: Forms</H1>
26
+
27
+ <BR>
28
+ <FORM METHOD="GET" ACTION="http://search.yahoo.com/bin/search" NAME="searchform">
29
+ <div align=center><bold><font size=2>html 4 fieldset/legend</font></bold></div>
30
+ <INPUT type=image src=raptor.jpg width=50 height=50 name=imageSubmit>
31
+ <FIELDSET style="background-color: rgb(200, 220, 240); display: inline; border: 2px solid black; margin-left: 10px; padding: 10px;">
32
+ <LEGEND style="background-color:rgb(180, 200, 220); border: 1px solid gray; padding: 0px;" align=left>&nbsp;Find it <b>Fast</b>&nbsp;</LEGEND>
33
+ <INPUT type=text value=travel NAME="p" SIZE=15 MAXLENGTH=80 style="margin-right:10px; background-color: rgb(190, 190, 190);">
34
+ <INPUT type=submit value="GO">
35
+ <INPUT TYPE="HIDDEN" NAME="a" VALUE="n">
36
+ </FIELDSET>
37
+ <BR><BR>
38
+ <div align=center><bold><font size=2>html 4 button</font></bold></div>
39
+ <BUTTON type=submit style="background-image: url(bg.jpg)">
40
+ <font size=4><B>This button contains a table
41
+ <table border=3><TR border=1><TD>CELL 1</TD><TD>CELL 2<TD></TR>
42
+ <TR><TD>CELL 3</TD><TD>CELL 4</TD></TR></table>
43
+ and a background image.
44
+ <BR>It will also submit the form.
45
+ </B></font>
46
+ </BUTTON>
47
+ <BR>
48
+
49
+ </FORM>
50
+
51
+ <BR><BR>
52
+ <FORM METHOD="POST" ACTION="http://www.mcp.com/cgi-bin/post-query" NAME="echo">
53
+ <div align=center><bold><font size=2>html 4 labels</font></bold></div>
54
+ <table>
55
+ <tr>
56
+ <td><label for=radio1 style="margin-right: 5px;">radio 1 label</label></td>
57
+ <td><input id=radio1 type=radio name=radio></td></tr>
58
+ <tr>
59
+ <td><label for=radio2 style="border: 1px solid blue; margin-right: 5px;">radio 2</label></td>
60
+ <td><input id=radio2 type=radio name=radio></td></tr></table>
61
+ <BR>
62
+ <label><input type=checkbox name=check1 checked>checkbox 1</label>
63
+ <BR>
64
+ <label><input type=checkbox name=check2>checkbox 2</label>
65
+ <BR><BR>
66
+ <HR>
67
+ <textarea name=a rows=4 cols=10 value="a textarea">a textarea</textarea>
68
+ &nbsp;&nbsp;
69
+ <textarea name=a id=textarea1 value="a textarea">another textarea
70
+ size, font set by css</textarea>
71
+ &nbsp;&nbsp; a password:&nbsp;&nbsp;<INPUT TYPE="PASSWORD">
72
+ <BR><BR>
73
+ <select name=select2 id=select1 size=4 multiple>
74
+ <option>option 1</option>
75
+ <option>option 2</option>
76
+ <option selected>option 3</option>
77
+ <option>option 4</option>
78
+ <option>option 5</option>
79
+ <option>option 6</option>
80
+ </select>
81
+ <select name=select1 size=2>
82
+ <option selected>option 1</option>
83
+ <option>option 2</option>
84
+ </select>
85
+ <select name=select3 size=1>
86
+ <option selected>option 1</option>
87
+ <option>option 2</option>
88
+ </select>
89
+ <BR><BR>
90
+ <input type=file size=20 name=file value=myfile>&nbsp;&nbsp;file content not being sent yet
91
+ <BR>
92
+ <input type=reset name=reset id=input2 value="RESET">
93
+ <input type=submit id=input1 name=submit value="SUBMIT">
94
+ <input type=image src=raptor.jpg width=50 height=50 name=imageSubmit> an image submit.
95
+ </form>
96
+ <BR>
97
+ <HR>
98
+ Disabled controls, the image submit should not submit the form.
99
+ <BR>
100
+ <FORM METHOD="GET" ACTION="http://search.yahoo.com/bin/search" NAME="searchform">
101
+ <input type=text size=5 disabled> &nbsp; <input type=submit disabled> &nbsp;
102
+ <INPUT type=image src=raptor.jpg width=50 height=50 name=imageSubmit disabled> &nbsp;
103
+ <input type=checkbox disabled> &nbsp; <input type=radio disabled> &nbsp;
104
+ <input type=reset disabled> &nbsp; <input type=file disabled> &nbsp;
105
+ <BR>
106
+ <textarea disabled>hello</textarea> &nbsp
107
+ <select disabled>
108
+ <option>one</option>
109
+ <option>two</option>
110
+ </select>
111
+ </form>
112
+ <BR>
113
+
114
+ <BR>
115
+ <HR>
116
+ Readonly controls
117
+ <BR>
118
+ <FORM>
119
+ <input type=text readonly size=5 value=hello readonly> &nbsp; <input type=password value=foo disabled> &nbsp;
120
+ <textarea readonly>bar</textarea>
121
+ </form>
122
+ <BR>
123
+
124
+ <HR>
125
+ Additional tests -&nbsp;
126
+ <A href=test8dom.html>changes through the DOM</A>,
127
+ <A href=test8siz.html>sizing</A>,
128
+ <A href=test8sca.html>scalability</A>,
129
+ <A href=test8tab.html>tables</A>
130
+ <BR>
131
+ <HR>
132
+ <h1>Select Tests</h1><br>
133
+ <h2>Sizing Tests</h2>
134
+ <form>
135
+ <table border=1 style="background-color: rgb(192,192,192)">
136
+ <tr>
137
+ <td><center><b>Three option select no properties</b></center></td>
138
+ <td><center><b>Three option select size=1</b></center></td>
139
+ <td><center><b>Three option select size=2</b></center></td>
140
+ <td><center><b>Three option select size=3</b></center></td>
141
+ <td><center><b>Three option select size=4</b></center></td>
142
+ </tr>
143
+ <tr>
144
+ <td><center><select><option>One</option><option>Two</option><option>Three</option></select></center></td>
145
+ <td><center><select size=1><option>One</option><option>Two</option><option>Three</option></select></center></td>
146
+ <td><center><select size=2><option>One</option><option>Two</option><option>Three</option></select></center></td>
147
+ <td><center><select size=3><option>One</option><option>Two</option><option>Three</option></select></center></td>
148
+ <td><center><select size=4><option>One</option><option>Two</option><option>Three</option></select></center></td>
149
+ </tr>
150
+ <tr>
151
+ <td>combobox box with three items in drop down</td>
152
+ <td>combobox box with three items in drop down</td>
153
+ <td>list box with three items, two items showing</td>
154
+ <td>list box with three items, all three items showing</td>
155
+ <td>list box with three items, all three items showing with one blank line</td>
156
+ </tr>
157
+ <tr>
158
+ <td>
159
+ <pre>
160
+ &lt;select>
161
+ &lt;option>One&lt;/option>
162
+ &lt;option>Two&lt;/option>
163
+ &lt;option>Three&lt;/option>
164
+ &lt;/select>
165
+ </pre>
166
+ </td>
167
+ <td>
168
+ <pre>
169
+ &lt;select size=1>
170
+ &lt;option>One&lt;/option>
171
+ &lt;option>Two&lt;/option>
172
+ &lt;option>Three&lt;/option>
173
+ &lt;/select>
174
+ </pre>
175
+ </td>
176
+ <td>
177
+ <pre>
178
+ &lt;select size=2>
179
+ &lt;option>One&lt;/option>
180
+ &lt;option>Two&lt;/option>
181
+ &lt;option>Three&lt;/option>
182
+ &lt;/select>
183
+ </pre>
184
+ </td>
185
+ <td>
186
+ <pre>
187
+ &lt;select size=3>
188
+ &lt;option>One&lt;/option>
189
+ &lt;option>Two&lt;/option>
190
+ &lt;option>Three&lt;/option>
191
+ &lt;/select>
192
+ </pre>
193
+ </td>
194
+ <td>
195
+ <pre>
196
+ &lt;select size=4>
197
+ &lt;/select>
198
+ </pre>
199
+ </td>
200
+ </tr>
201
+ </table>
202
+ <br>
203
+ <br>
204
+ <h2>Edge Case Tests</h2>
205
+ <table border=1 style="background-color: rgb(192,192,192)">
206
+ <tr>
207
+ <td><center><b>Empty Select size=1</b></center></td>
208
+ <td><center><b>Empty Select size=4</b></center></td>
209
+ <td><center><b>Select size=1 - empty option</b></center></td>
210
+ <td><center><b>Select size=1 - option has a single space</b></center></td>
211
+ <td><center><b>Select size=1 - option has a return in the middle of it</b></center></td>
212
+ </tr>
213
+ <tr>
214
+ <td><center><select size=1></select></center></td>
215
+ <td><center><select size=4></select></center></td>
216
+ <td><center><select size=1><option></option></select></center></td>
217
+ <td><center><select size=1><option> </option></select></center></td>
218
+ <td><center><select size=1><option>One
219
+ Fish</option></select></center></td>
220
+ </tr>
221
+ <tr>
222
+ <td>You should see a combobox with an empty item drop down</td>
223
+ <td>You should see a list box four items high and empty</td>
224
+ <td>You should see one empty item in the dropdown</td>
225
+ <td>You should see one empty item in the dropdown (the item should have single space)</td>
226
+ <td>You should see one item in the dropdown, on one line</td>
227
+ </tr>
228
+ <tr>
229
+ <td>
230
+ <pre>
231
+ &lt;select size=1>
232
+ &lt;/select>
233
+ </pre>
234
+ </td>
235
+ <td>
236
+ <pre>
237
+ &lt;select size=4>
238
+ &lt;/select>
239
+ </pre>
240
+ </td>
241
+ <td>
242
+ <pre>
243
+ &lt;select size=1>
244
+ &lt;option>&lt;/option>
245
+ &lt;/select>
246
+ </pre>
247
+ </td>
248
+ <td>
249
+ <pre>
250
+ &lt;select size=1>
251
+ &lt;option>&nbsp;&lt;/option>
252
+ &lt;/select>
253
+ </pre>
254
+ </td>
255
+ <td>
256
+ <pre>
257
+ &lt;select size=1>
258
+ &lt;option>One
259
+ Fish&lt;/option>
260
+ &lt;/select>
261
+ </pre>
262
+ </td>
263
+ </tr>
264
+ </table>
265
+ <br>
266
+ <br>
267
+ <h2>Style Tests #1</h2>
268
+ <table border=1 style="background-color: rgb(192,192,192)">
269
+ <tr>
270
+ <td><center><b>Select 5px Border (Combobox)</b></center></td>
271
+ <td><center><b>Select 5px Border 5px Padding (Combobox)</b></center></td>
272
+ </tr>
273
+ <tr>
274
+ <td><center><select size=1 style="border: outset 5px rgb(192,192,192)"><option>One</option><option>Two</option><option>Three</option></select></center></td>
275
+ <td><center><select size=1 style="padding: 5px 5px 5px 5px;border: outset 5px rgb(192,192,192)"><option>One</option><option>Two</option><option>Three</option></select></center></td>
276
+ </tr>
277
+ <tr>
278
+ <td>You should see a combobox with large border</td>
279
+ <td>You should see a combobox with large border and padding</td>
280
+ </tr>
281
+ <tr>
282
+ <td>
283
+ <pre>
284
+ &lt;select size=1 style="border: outset 5px rgb(192,192,192)">
285
+ &lt;option>One&lt;/option>
286
+ &lt;option>Two&lt;/option>
287
+ &lt;option>Three&lt;/option>
288
+ &lt;/select>
289
+ </pre>
290
+ </td>
291
+ <td>
292
+ <pre>
293
+ &lt;select size=1 style="padding: 5px 5px 5px 5px;
294
+ border: outset 5px rgb(192,192,192)">
295
+ &lt;option>One&lt;/option>
296
+ &lt;option>Two&lt;/option>
297
+ &lt;option>Three&lt;/option>
298
+ &lt;/select>
299
+ </pre>
300
+ </td>
301
+ </tr>
302
+ </table>
303
+ <br>
304
+ <br>
305
+ <h2>Style Tests #2</h2>
306
+ <table border=1 style="background-color: rgb(192,192,192)">
307
+ <tr>
308
+ <td><center><b>Select 5px Border (ListBox)</b></center></td>
309
+ <td><center><b>Select 5px Border 5px Padding (ListBox)</b></center></td>
310
+ </tr>
311
+ <tr>
312
+ <td><center><select size=4 style="border: outset 5px rgb(192,192,192)"><option>One</option><option>Two</option><option>Three</option></select></center></td>
313
+ <td><center><select size=4 style="padding: 5px 5px 5px 5px;border: outset 5px rgb(192,192,192)"><option>One</option><option>Two</option><option>Three</option></select></center></td>
314
+ </tr>
315
+ <tr>
316
+ <td>You should see a listbox with large border</td>
317
+ <td>You should see a listbox with large border and padding</td>
318
+ </tr>
319
+ <tr>
320
+ <td>
321
+ <pre>
322
+ &lt;select size=4 style="border: outset 5px rgb(192,192,192)">
323
+ &lt;option>One&lt;/option>
324
+ &lt;option>Two&lt;/option>
325
+ &lt;option>Three&lt;/option>
326
+ &lt;/select>
327
+ </pre>
328
+ </td>
329
+ <td>
330
+ <pre>
331
+ &lt;select size=4 style="padding: 5px 5px 5px 5px;
332
+ border: outset 5px rgb(192,192,192)">
333
+ &lt;option>One&lt;/option>
334
+ &lt;option>Two&lt;/option>
335
+ &lt;option>Three&lt;/option>
336
+ &lt;/select>
337
+ </pre>
338
+ </td>
339
+ </tr>
340
+ </table>
341
+ <br>
342
+ <br>
343
+ <h2>Style Tests #3</h2>
344
+ <table border=1 style="background-color: rgb(192,192,192)">
345
+ <tr>
346
+ <td><center><b>Select 5px Border, 5px Padding, 5px Margin (Combobox)</b></center></td>
347
+ <td><center><b>Select with an a green option (Combobox)</b></center></td>
348
+ </tr>
349
+ <tr>
350
+ <td><center><select size=1 style="margin: 5px;
351
+ padding: 5px;
352
+ border: outset 5px rgb(192,192,192);">
353
+ <option>One</option><option>Two</option><option>Three</option>
354
+ </select></center></td>
355
+ <td><center><select size=1><option style="background-color: green;color:yellow;">One</option><option>Two</option><option>Three</option></select></center></td>
356
+ </tr>
357
+ <tr>
358
+ <td>You should see a combobox with large border and padding</td>
359
+ <td>You should see a combobox with the first item is green with yellow text</td>
360
+ </tr>
361
+ <tr>
362
+ <td>
363
+ <pre>
364
+ &lt;select size=1 style="margin: 5px;
365
+ padding: 5px;
366
+ border: outset 5px rgb(192,192,192);">
367
+ &lt;option>One&lt;/option>
368
+ &lt;option>Two&lt;/option>
369
+ &lt;option>Three&lt;/option>
370
+ &lt;/select>
371
+ </pre>
372
+ </td>
373
+ <td>
374
+ <pre>
375
+ &lt;select size=1>
376
+ &lt;option style="background-color: green;color:yellow;">One&lt;/option>
377
+ &lt;option>Two&lt;/option>
378
+ &lt;option>Three&lt;/option>
379
+ &lt;/select>
380
+ </pre>
381
+ </td>
382
+ </tr>
383
+ </table>
384
+ <br>
385
+ <br>
386
+ <h2>Style Tests #4</h2>
387
+ <table border=1 style="background-color: rgb(192,192,192)">
388
+ <tr>
389
+ <td><center><b>Select 5px Border, 5px Padding, 5px Margin (Listbox)</b></center></td>
390
+ <td><center><b>Select with an a green option (Listbox)</b></center></td>
391
+ </tr>
392
+ <tr>
393
+ <td><center><select size=4 style="margin: 5px; padding: 5px; border: outset 5px rgb(192,192,192);"><option>One</option><option>Two</option><option>Three</option></select></center></td>
394
+ <td><center><select size=4><option style="background-color: green;color:yellow;">One</option><option>Two</option><option>Three</option></select></center></td>
395
+ </tr>
396
+ <tr>
397
+ <td>You should see a listbox with large border and padding</td>
398
+ <td>You should see a listbox with the first item is green with yellow text</td>
399
+ </tr>
400
+ <tr>
401
+ <td>
402
+ <pre>
403
+ &lt;select size=1 style="margin: 5px;
404
+ padding: 5px;
405
+ border: outset 5px rgb(192,192,192);">
406
+ &lt;option>One&lt;/option>
407
+ &lt;option>Two&lt;/option>
408
+ &lt;option>Three&lt;/option>
409
+ &lt;/select>
410
+ </pre>
411
+ </td>
412
+ <td>
413
+ <pre>
414
+ &lt;select size=1>
415
+ &lt;option style="background-color: green;color:yellow;">One&lt;/option>
416
+ &lt;option>Two&lt;/option>
417
+ &lt;option>Three&lt;/option>
418
+ &lt;/select>
419
+ </pre>
420
+ </td>
421
+ </tr>
422
+ </table>
423
+ <br>
424
+ <br>
425
+ <h2>Style Tests #5</h2>
426
+ <table border=1 style="background-color: rgb(192,192,192)">
427
+ <tr>
428
+ <td><center><b> Option has 1px Border, 1px Padding (Combobox)</b></center></td>
429
+ <td><center><b> Option has 1px Border, 1px Padding (Listbox)</b></center></td>
430
+ </tr>
431
+ <tr>
432
+ <td><center>
433
+ <select size=1>
434
+ <option>One</option>
435
+ <option style="border: 1px outset rgb(192,192,192);padding: 1px;">Two</option>
436
+ <option>Three</option>
437
+ </select>
438
+ </center></td>
439
+ <td><center>
440
+ <select size=4>
441
+ <option>One</option>
442
+ <option style="border: 1px outset rgb(192,192,192);padding: 1px;">Two</option>
443
+ <option>Three</option>
444
+ </select>
445
+ </center></td>
446
+ </tr>
447
+ <tr>
448
+ <td>You should see a combobox with the second item having border and padding</td>
449
+ <td>You should see a combobox with the second item having border and padding</td>
450
+ </tr>
451
+ <tr>
452
+ <td>
453
+ <pre>
454
+ &lt;select size=1>
455
+ &lt;option>One</option>
456
+ &lt;option style="border: 1px outset rgb(192,192,192);
457
+ padding 1px;">Two</option>
458
+ &lt;option>Three</option>
459
+ &lt;/select>
460
+ </pre>
461
+ </td>
462
+ <td>
463
+ <pre>
464
+ &lt;select size=4>
465
+ &lt;option>One</option>
466
+ &lt;option style="border: 1px outset rgb(192,192,192);
467
+ padding 1px;">Two</option>
468
+ &lt;option>Three</option>
469
+ &lt;/select>
470
+ </pre>
471
+ </td>
472
+ </tr>
473
+ </table>
474
+ <br>
475
+ <br>
476
+ <h2>Optgroup Test</h2>
477
+ <table border=1 style="background-color: rgb(192,192,192)">
478
+ <tr>
479
+ <td><center><b>Select size=1 with Optgroup (Combobox)</b></center></td>
480
+ <td><center><b>Select size=4 with Optgroup (Listbox)</b></center></td>
481
+ </tr>
482
+ <tr>
483
+ <td><center>
484
+ <select size=1>
485
+ <optgroup label="China">
486
+ <option>Keemun</option>
487
+ <option>Yunnan</option>
488
+ </optgroup>
489
+ <optgroup label="India">
490
+ <option>Assam</option>
491
+ <option>Darjeeling</option>
492
+ </optgroup>
493
+ <optgroup label="Japan">
494
+ <option>Gyokuro</option>
495
+ <option>Hoji-cha</option>
496
+ </optgroup>
497
+ </select>
498
+ </center></td>
499
+ <td><center>
500
+ <select size=4>
501
+ <optgroup label="China">
502
+ <option>Keemun</option>
503
+ <option>Yunnan</option>
504
+ </optgroup>
505
+ <optgroup label="India">
506
+ <option>Assam</option>
507
+ <option>Darjeeling</option>
508
+ </optgroup>
509
+ <optgroup label="Japan">
510
+ <option>Gyokuro</option>
511
+ <option>Hoji-cha</option>
512
+ </optgroup>
513
+ </select>
514
+ </center></td>
515
+ </tr>
516
+ <tr>
517
+ <td>You should see a Combobox with optgroups, where the optgroups are not selectable</td>
518
+ <td>You should see a Listbox with optgroups, where the optgroups are not selectable</td>
519
+ </tr>
520
+ <tr>
521
+ <td>
522
+ <pre>
523
+ &lt;select size=1>
524
+ &lt;optgroup label="China">
525
+ &lt;option>Keemun&lt;/option>
526
+ &lt;option>Yunnan&lt;/option>
527
+ &lt;/optgroup>
528
+ &lt;optgroup label="India">
529
+ &lt;option>Assam&lt;/option>
530
+ &lt;option>Darjeeling&lt;/option>
531
+ &lt;/optgroup>
532
+ &lt;optgroup label="Japan">
533
+ &lt;option>Gyokuro&lt;/option>
534
+ &lt;option>Hoji-cha&lt;/option>
535
+ &lt;/optgroup>
536
+ &lt;/select>
537
+ </pre>
538
+ </td>
539
+ <td>
540
+ <pre>
541
+ &lt;select size=4>
542
+ &lt;optgroup label="China">
543
+ &lt;option>Keemun&lt;/option>
544
+ &lt;option>Yunnan&lt;/option>
545
+ &lt;/optgroup>
546
+ &lt;optgroup label="India">
547
+ &lt;option>Assam&lt;/option>
548
+ &lt;option>Darjeeling&lt;/option>
549
+ &lt;/optgroup>
550
+ &lt;optgroup label="Japan">
551
+ &lt;option>Gyokuro&lt;/option>
552
+ &lt;option>Hoji-cha&lt;/option>
553
+ &lt;/optgroup>
554
+ &lt;/select>
555
+ </pre>
556
+ </td>
557
+ </tr>
558
+ </table>
559
+ <br>
560
+ <br>
561
+ <h2>Disabled Option Test</h2>
562
+ <table border=1 style="background-color: rgb(192,192,192)">
563
+ <tr>
564
+ <td><center><b>Select size=1 with Disabled option (Combobox)</b></center></td>
565
+ <td><center><b>Select size=4 with Disabled option (Listbox)</b></center></td>
566
+ </tr>
567
+ <tr>
568
+ <td><center>
569
+ <select size=1>
570
+ <option>One</option>
571
+ <option disabled>Two</option>
572
+ <option>Three</option>
573
+ </select>
574
+ </center></td>
575
+ <td><center>
576
+ <select size=4>
577
+ <option>One</option>
578
+ <option disabled>Two</option>
579
+ <option>Three</option>
580
+ </select>
581
+ </center></td>
582
+ </tr>
583
+ <tr>
584
+ <td>You should see a Combobox with optgroups, the second item is non-selectable</td>
585
+ <td>You should see a Listbox with optgroups, the second item is non-selectable</td>
586
+ </tr>
587
+ <tr>
588
+ <td>
589
+ <pre>
590
+ &lt;select size=1>
591
+ &lt;option>One&lt;/option>
592
+ &lt;option disabled>Two&lt;/option>
593
+ &lt;option>Three&lt;/option>
594
+ &lt;/select>
595
+ </pre>
596
+ </td>
597
+ <td>
598
+ <pre>
599
+ &lt;select size=4>
600
+ &lt;option>One&lt;/option>
601
+ &lt;option disabled>Two&lt;/option>
602
+ &lt;option>Three&lt;/option>
603
+ &lt;/select>
604
+ </pre>
605
+ </td>
606
+ </tr>
607
+ </table>
608
+
609
+ <br>
610
+ <br>
611
+ <h2>Option Label Test</h2>
612
+ <table border=1 style="background-color: rgb(192,192,192)">
613
+ <tr>
614
+ <td><center><b>Select size=1 with Option label (Combobox)</b></center></td>
615
+ <td><center><b>Select size=4 with Option label (Listbox)</b></center></td>
616
+ </tr>
617
+ <tr>
618
+ <td><center>
619
+ <select size=1>
620
+ <option>One</option>
621
+ <option label="Label">Two</option>
622
+ <option>Three</option>
623
+ </select>
624
+ </center></td>
625
+ <td><center>
626
+ <select size=4>
627
+ <option>One</option>
628
+ <option label="Label">Two</option>
629
+ <option>Three</option>
630
+ </select>
631
+ </center></td>
632
+ </tr>
633
+ <tr>
634
+ <td>You should see a Combobox with optgroups, the second item's label should be "Label" (known bug because the label and contet shouldn't be appended)</td>
635
+ <td>You should see a Listbox with optgroups, the second item's label should be "Label" (known bug because the label and contet shouldn't be appended)</td>
636
+ </tr>
637
+ <tr>
638
+ <td>
639
+ <pre>
640
+ &lt;select size=1>
641
+ &lt;option>One&lt;/option>
642
+ &lt;option label="Label">Two&lt;/option>
643
+ &lt;option>Three&lt;/option>
644
+ &lt;/select>
645
+ </pre>
646
+ </td>
647
+ <td>
648
+ <pre>
649
+ &lt;select size=4>
650
+ &lt;option>One&lt;/option>
651
+ &lt;option label="Label">Two&lt;/option>
652
+ &lt;option>Three&lt;/option>
653
+ &lt;/select>
654
+ </pre>
655
+ </td>
656
+ </tr>
657
+ </table>
658
+
659
+ </form>
660
+
661
+ </body>
662
+ </html>