ogre.rb 0.1-i686-linux → 0.2-i686-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. data/README +43 -5
  2. data/Rakefile +67 -165
  3. data/lib/application.rb +2 -1
  4. data/lib/application_frame_listener.rb +17 -17
  5. data/lib/ogre.so +0 -0
  6. data/lib/ruby_ois.so +0 -0
  7. data/ogre.rb +3 -0
  8. data/samples/Ogre.log +358 -257
  9. data/samples/cel_shading.rb +85 -0
  10. data/samples/grass.rb +1 -1
  11. data/samples/media/materials/programs/CelShading.cg +63 -0
  12. data/samples/media/materials/scripts/CelShading.material +68 -0
  13. data/samples/media/materials/textures/cel_shading_diffuse.png +0 -0
  14. data/samples/media/materials/textures/cel_shading_edge.png +0 -0
  15. data/samples/media/materials/textures/cel_shading_specular.png +0 -0
  16. data/samples/ogre.cfg +1 -2
  17. data/samples/plugins.cfg +3 -2
  18. data/test/ogre.cfg +10 -0
  19. data/{samples/navi → test}/plugins.cfg +2 -4
  20. data/test/test_helper.rb +67 -0
  21. data/test/unit/constants_test.rb +66 -0
  22. data/test/unit/frame_stats_proxy_test.rb +28 -0
  23. data/test/unit/math_test.rb +20 -0
  24. data/test/unit/mesh_test.rb +15 -0
  25. data/test/unit/methods_test.rb +98 -0
  26. data/test/unit/movable_object_test.rb +19 -0
  27. data/test/unit/name_value_pair_list_test.rb +12 -0
  28. data/test/unit/overlay_element_test.rb +20 -0
  29. data/test/unit/render_target_test.rb +11 -0
  30. data/test/unit/resource_test.rb +26 -0
  31. data/test/unit/scene_manager_test.rb +21 -0
  32. metadata +25 -356
  33. data/samples/navi/Media/NaviDemo.material +0 -60
  34. data/samples/navi/Media/OgreCore.zip +0 -0
  35. data/samples/navi/Media/cerulean.jpg +0 -0
  36. data/samples/navi/Media/clouds.jpg +0 -0
  37. data/samples/navi/Media/controlsNaviMask.png +0 -0
  38. data/samples/navi/Media/grass.jpg +0 -0
  39. data/samples/navi/Media/knot.mesh +0 -0
  40. data/samples/navi/Media/testNaviMask.png +0 -0
  41. data/samples/navi/NaviLocal/Navi.js +0 -136
  42. data/samples/navi/NaviLocal/buttonBg.jpg +0 -0
  43. data/samples/navi/NaviLocal/controls.html +0 -303
  44. data/samples/navi/NaviLocal/knobBg.jpg +0 -0
  45. data/samples/navi/NaviLocal/moo.dropdownmenu.js +0 -87
  46. data/samples/navi/NaviLocal/mootools.v1.1.js +0 -6964
  47. data/samples/navi/NaviLocal/naviLogo.html +0 -32
  48. data/samples/navi/NaviLocal/naviLogo.png +0 -0
  49. data/samples/navi/NaviLocal/pageBg.jpg +0 -0
  50. data/samples/navi/NaviLocal/sliderBg.jpg +0 -0
  51. data/samples/navi/NaviLocal/test.html +0 -5
  52. data/samples/navi/NaviLocal/welcome.html +0 -36
  53. data/samples/navi/NaviLocal/welcome.png +0 -0
  54. data/samples/navi/chrome/chromelist.txt +0 -597
  55. data/samples/navi/chrome/classic.jar +0 -0
  56. data/samples/navi/chrome/classic.manifest +0 -4
  57. data/samples/navi/chrome/comm.jar +0 -0
  58. data/samples/navi/chrome/comm.manifest +0 -2
  59. data/samples/navi/chrome/en-US.jar +0 -0
  60. data/samples/navi/chrome/en-US.manifest +0 -9
  61. data/samples/navi/chrome/toolkit.jar +0 -0
  62. data/samples/navi/chrome/toolkit.manifest +0 -6
  63. data/samples/navi/components/FeedProcessor.js +0 -1825
  64. data/samples/navi/components/alerts.xpt +0 -0
  65. data/samples/navi/components/appshell.xpt +0 -0
  66. data/samples/navi/components/appstartup.xpt +0 -0
  67. data/samples/navi/components/auth.dll +0 -0
  68. data/samples/navi/components/autocomplete.xpt +0 -0
  69. data/samples/navi/components/autoconfig.dll +0 -0
  70. data/samples/navi/components/autoconfig.xpt +0 -0
  71. data/samples/navi/components/caps.xpt +0 -0
  72. data/samples/navi/components/chardet.xpt +0 -0
  73. data/samples/navi/components/chrome.xpt +0 -0
  74. data/samples/navi/components/commandhandler.xpt +0 -0
  75. data/samples/navi/components/commandlines.xpt +0 -0
  76. data/samples/navi/components/composer.xpt +0 -0
  77. data/samples/navi/components/compreg.dat +0 -1474
  78. data/samples/navi/components/content_base.xpt +0 -0
  79. data/samples/navi/components/content_html.xpt +0 -0
  80. data/samples/navi/components/content_htmldoc.xpt +0 -0
  81. data/samples/navi/components/content_xmldoc.xpt +0 -0
  82. data/samples/navi/components/content_xslt.xpt +0 -0
  83. data/samples/navi/components/content_xtf.xpt +0 -0
  84. data/samples/navi/components/directory.xpt +0 -0
  85. data/samples/navi/components/docshell_base.xpt +0 -0
  86. data/samples/navi/components/dom.xpt +0 -0
  87. data/samples/navi/components/dom_base.xpt +0 -0
  88. data/samples/navi/components/dom_canvas.xpt +0 -0
  89. data/samples/navi/components/dom_core.xpt +0 -0
  90. data/samples/navi/components/dom_css.xpt +0 -0
  91. data/samples/navi/components/dom_events.xpt +0 -0
  92. data/samples/navi/components/dom_html.xpt +0 -0
  93. data/samples/navi/components/dom_loadsave.xpt +0 -0
  94. data/samples/navi/components/dom_range.xpt +0 -0
  95. data/samples/navi/components/dom_sidebar.xpt +0 -0
  96. data/samples/navi/components/dom_storage.xpt +0 -0
  97. data/samples/navi/components/dom_stylesheets.xpt +0 -0
  98. data/samples/navi/components/dom_svg.xpt +0 -0
  99. data/samples/navi/components/dom_traversal.xpt +0 -0
  100. data/samples/navi/components/dom_views.xpt +0 -0
  101. data/samples/navi/components/dom_xbl.xpt +0 -0
  102. data/samples/navi/components/dom_xpath.xpt +0 -0
  103. data/samples/navi/components/dom_xul.xpt +0 -0
  104. data/samples/navi/components/downloads.xpt +0 -0
  105. data/samples/navi/components/editor.xpt +0 -0
  106. data/samples/navi/components/embed_base.xpt +0 -0
  107. data/samples/navi/components/extensions.xpt +0 -0
  108. data/samples/navi/components/exthandler.xpt +0 -0
  109. data/samples/navi/components/fastfind.xpt +0 -0
  110. data/samples/navi/components/feeds.xpt +0 -0
  111. data/samples/navi/components/find.xpt +0 -0
  112. data/samples/navi/components/gfx.xpt +0 -0
  113. data/samples/navi/components/gksvgrenderer.xpt +0 -0
  114. data/samples/navi/components/history.xpt +0 -0
  115. data/samples/navi/components/htmlparser.xpt +0 -0
  116. data/samples/navi/components/imglib2.xpt +0 -0
  117. data/samples/navi/components/inspector.xpt +0 -0
  118. data/samples/navi/components/intl.xpt +0 -0
  119. data/samples/navi/components/intlcmpt.xpt +0 -0
  120. data/samples/navi/components/jar.xpt +0 -0
  121. data/samples/navi/components/jsconsole-clhandler.js +0 -170
  122. data/samples/navi/components/jsconsole.xpt +0 -0
  123. data/samples/navi/components/jsdservice.xpt +0 -0
  124. data/samples/navi/components/layout_base.xpt +0 -0
  125. data/samples/navi/components/layout_printing.xpt +0 -0
  126. data/samples/navi/components/layout_xul.xpt +0 -0
  127. data/samples/navi/components/layout_xul_tree.xpt +0 -0
  128. data/samples/navi/components/locale.xpt +0 -0
  129. data/samples/navi/components/lwbrk.xpt +0 -0
  130. data/samples/navi/components/mimetype.xpt +0 -0
  131. data/samples/navi/components/mozbrwsr.xpt +0 -0
  132. data/samples/navi/components/mozfind.xpt +0 -0
  133. data/samples/navi/components/necko.xpt +0 -0
  134. data/samples/navi/components/necko_about.xpt +0 -0
  135. data/samples/navi/components/necko_cache.xpt +0 -0
  136. data/samples/navi/components/necko_cookie.xpt +0 -0
  137. data/samples/navi/components/necko_data.xpt +0 -0
  138. data/samples/navi/components/necko_dns.xpt +0 -0
  139. data/samples/navi/components/necko_file.xpt +0 -0
  140. data/samples/navi/components/necko_ftp.xpt +0 -0
  141. data/samples/navi/components/necko_http.xpt +0 -0
  142. data/samples/navi/components/necko_res.xpt +0 -0
  143. data/samples/navi/components/necko_socket.xpt +0 -0
  144. data/samples/navi/components/necko_strconv.xpt +0 -0
  145. data/samples/navi/components/necko_viewsource.xpt +0 -0
  146. data/samples/navi/components/nsCloseAllWindows.js +0 -143
  147. data/samples/navi/components/nsDefaultCLH.js +0 -231
  148. data/samples/navi/components/nsDictionary.js +0 -148
  149. data/samples/navi/components/nsExtensionManager.js +0 -8497
  150. data/samples/navi/components/nsHelperAppDlg.js +0 -990
  151. data/samples/navi/components/nsInterfaceInfoToIDL.js +0 -590
  152. data/samples/navi/components/nsKillAll.js +0 -200
  153. data/samples/navi/components/nsPostUpdateWin.js +0 -711
  154. data/samples/navi/components/nsProgressDialog.js +0 -949
  155. data/samples/navi/components/nsProxyAutoConfig.js +0 -396
  156. data/samples/navi/components/nsResetPref.js +0 -175
  157. data/samples/navi/components/nsURLFormatter.js +0 -179
  158. data/samples/navi/components/nsUpdateService.js +0 -3074
  159. data/samples/navi/components/nsXULAppInstall.js +0 -301
  160. data/samples/navi/components/nsXmlRpcClient.js +0 -1038
  161. data/samples/navi/components/oji.xpt +0 -0
  162. data/samples/navi/components/passwordmgr.xpt +0 -0
  163. data/samples/navi/components/pipboot.xpt +0 -0
  164. data/samples/navi/components/pipnss.xpt +0 -0
  165. data/samples/navi/components/plugin.xpt +0 -0
  166. data/samples/navi/components/pref.xpt +0 -0
  167. data/samples/navi/components/prefetch.xpt +0 -0
  168. data/samples/navi/components/profile.xpt +0 -0
  169. data/samples/navi/components/progressDlg.xpt +0 -0
  170. data/samples/navi/components/proxyObject.xpt +0 -0
  171. data/samples/navi/components/rdf.xpt +0 -0
  172. data/samples/navi/components/satchel.xpt +0 -0
  173. data/samples/navi/components/saxparser.xpt +0 -0
  174. data/samples/navi/components/shistory.xpt +0 -0
  175. data/samples/navi/components/storage.xpt +0 -0
  176. data/samples/navi/components/toolkitprofile.xpt +0 -0
  177. data/samples/navi/components/transformiix.dll +0 -0
  178. data/samples/navi/components/txmgr.xpt +0 -0
  179. data/samples/navi/components/txtsvc.xpt +0 -0
  180. data/samples/navi/components/uconv.xpt +0 -0
  181. data/samples/navi/components/unicharutil.xpt +0 -0
  182. data/samples/navi/components/universalchardet.dll +0 -0
  183. data/samples/navi/components/update.xpt +0 -0
  184. data/samples/navi/components/uriloader.xpt +0 -0
  185. data/samples/navi/components/urlformatter.xpt +0 -0
  186. data/samples/navi/components/webBrowser_core.xpt +0 -0
  187. data/samples/navi/components/webbrowserpersist.xpt +0 -0
  188. data/samples/navi/components/webshell_idls.xpt +0 -0
  189. data/samples/navi/components/websrvcs.dll +0 -0
  190. data/samples/navi/components/websrvcs.xpt +0 -0
  191. data/samples/navi/components/widget.xpt +0 -0
  192. data/samples/navi/components/windowds.xpt +0 -0
  193. data/samples/navi/components/windowwatcher.xpt +0 -0
  194. data/samples/navi/components/xml-rpc.xpt +0 -0
  195. data/samples/navi/components/xmlextras.dll +0 -0
  196. data/samples/navi/components/xpcom_base.xpt +0 -0
  197. data/samples/navi/components/xpcom_components.xpt +0 -0
  198. data/samples/navi/components/xpcom_ds.xpt +0 -0
  199. data/samples/navi/components/xpcom_io.xpt +0 -0
  200. data/samples/navi/components/xpcom_obsolete.xpt +0 -0
  201. data/samples/navi/components/xpcom_thread.xpt +0 -0
  202. data/samples/navi/components/xpcom_xpti.xpt +0 -0
  203. data/samples/navi/components/xpconnect.xpt +0 -0
  204. data/samples/navi/components/xpinstall.xpt +0 -0
  205. data/samples/navi/components/xpti.dat +0 -1424
  206. data/samples/navi/components/xulapp.xpt +0 -0
  207. data/samples/navi/components/xulapp_setup.xpt +0 -0
  208. data/samples/navi/components/xuldoc.xpt +0 -0
  209. data/samples/navi/components/xulrunner.xpt +0 -0
  210. data/samples/navi/components/xultmpl.xpt +0 -0
  211. data/samples/navi/components/xulutil.dll +0 -0
  212. data/samples/navi/controlsNaviMask.png +0 -0
  213. data/samples/navi/greprefs/all.js +0 -1344
  214. data/samples/navi/greprefs/security-prefs.js +0 -69
  215. data/samples/navi/greprefs/xpinstall.js +0 -2
  216. data/samples/navi/navi_demo.rb +0 -207
  217. data/samples/navi/plugins/NPSWF32.dll +0 -0
  218. data/samples/navi/plugins/flashplayer.xpt +0 -0
  219. data/samples/navi/plugins/npnul32.dll +0 -0
  220. data/samples/navi/res/EditorOverride.css +0 -359
  221. data/samples/navi/res/Thumbs.db +0 -0
  222. data/samples/navi/res/arrow.gif +0 -0
  223. data/samples/navi/res/arrowd.gif +0 -0
  224. data/samples/navi/res/bloatcycle.html +0 -40
  225. data/samples/navi/res/broken-image.gif +0 -0
  226. data/samples/navi/res/charsetData.properties +0 -199
  227. data/samples/navi/res/charsetalias.properties +0 -517
  228. data/samples/navi/res/cmessage.txt +0 -1
  229. data/samples/navi/res/dtd/xhtml11.dtd +0 -300
  230. data/samples/navi/res/entityTables/html40Latin1.properties +0 -146
  231. data/samples/navi/res/entityTables/html40Special.properties +0 -69
  232. data/samples/navi/res/entityTables/html40Symbols.properties +0 -164
  233. data/samples/navi/res/entityTables/htmlEntityVersions.properties +0 -50
  234. data/samples/navi/res/entityTables/transliterate.properties +0 -2367
  235. data/samples/navi/res/fonts/fontEncoding.properties +0 -127
  236. data/samples/navi/res/fonts/fontNameMap.properties +0 -134
  237. data/samples/navi/res/forms.css +0 -531
  238. data/samples/navi/res/grabber.gif +0 -0
  239. data/samples/navi/res/hiddenWindow.html +0 -1
  240. data/samples/navi/res/html/Thumbs.db +0 -0
  241. data/samples/navi/res/html/gopher-audio.gif +0 -0
  242. data/samples/navi/res/html/gopher-binary.gif +0 -0
  243. data/samples/navi/res/html/gopher-find.gif +0 -0
  244. data/samples/navi/res/html/gopher-image.gif +0 -0
  245. data/samples/navi/res/html/gopher-menu.gif +0 -0
  246. data/samples/navi/res/html/gopher-movie.gif +0 -0
  247. data/samples/navi/res/html/gopher-sound.gif +0 -0
  248. data/samples/navi/res/html/gopher-telnet.gif +0 -0
  249. data/samples/navi/res/html/gopher-text.gif +0 -0
  250. data/samples/navi/res/html/gopher-unknown.gif +0 -0
  251. data/samples/navi/res/html.css +0 -478
  252. data/samples/navi/res/langGroups.properties +0 -236
  253. data/samples/navi/res/language.properties +0 -259
  254. data/samples/navi/res/loading-image.gif +0 -0
  255. data/samples/navi/res/quirk.css +0 -282
  256. data/samples/navi/res/samples/Anieyes.gif +0 -0
  257. data/samples/navi/res/samples/Thumbs.db +0 -0
  258. data/samples/navi/res/samples/aform.css +0 -69
  259. data/samples/navi/res/samples/beeptest.html +0 -18
  260. data/samples/navi/res/samples/bform.css +0 -45
  261. data/samples/navi/res/samples/bg.jpg +0 -0
  262. data/samples/navi/res/samples/cform.css +0 -40
  263. data/samples/navi/res/samples/checkboxTest.xul +0 -47
  264. data/samples/navi/res/samples/demoform.css +0 -97
  265. data/samples/navi/res/samples/find.html +0 -97
  266. data/samples/navi/res/samples/gear1.gif +0 -0
  267. data/samples/navi/res/samples/image_props.html +0 -58
  268. data/samples/navi/res/samples/mozform.css +0 -256
  269. data/samples/navi/res/samples/printsetup.html +0 -175
  270. data/samples/navi/res/samples/raptor.jpg +0 -0
  271. data/samples/navi/res/samples/rock_gra.gif +0 -0
  272. data/samples/navi/res/samples/scrollbarTest1.xul +0 -66
  273. data/samples/navi/res/samples/scrollbarTest2.xul +0 -19
  274. data/samples/navi/res/samples/sliderTest1.xul +0 -14
  275. data/samples/navi/res/samples/soundtest.html +0 -20
  276. data/samples/navi/res/samples/test.wav +0 -0
  277. data/samples/navi/res/samples/test0.html +0 -220
  278. data/samples/navi/res/samples/test1.html +0 -84
  279. data/samples/navi/res/samples/test10.html +0 -16
  280. data/samples/navi/res/samples/test11.html +0 -42
  281. data/samples/navi/res/samples/test12.html +0 -79
  282. data/samples/navi/res/samples/test13.html +0 -126
  283. data/samples/navi/res/samples/test14.html +0 -5
  284. data/samples/navi/res/samples/test15.html +0 -5
  285. data/samples/navi/res/samples/test16.html +0 -124
  286. data/samples/navi/res/samples/test2.html +0 -41
  287. data/samples/navi/res/samples/test3.html +0 -126
  288. data/samples/navi/res/samples/test4.html +0 -335
  289. data/samples/navi/res/samples/test5.html +0 -199
  290. data/samples/navi/res/samples/test6.html +0 -335
  291. data/samples/navi/res/samples/test7.html +0 -11
  292. data/samples/navi/res/samples/test8-1.html +0 -66
  293. data/samples/navi/res/samples/test8.html +0 -662
  294. data/samples/navi/res/samples/test8dom.html +0 -64
  295. data/samples/navi/res/samples/test8sca.html +0 -308
  296. data/samples/navi/res/samples/test8siz.html +0 -224
  297. data/samples/navi/res/samples/test8tab.html +0 -9
  298. data/samples/navi/res/samples/test9.html +0 -12
  299. data/samples/navi/res/samples/test9a.html +0 -39
  300. data/samples/navi/res/samples/test9b.html +0 -16
  301. data/samples/navi/res/samples/test_ed.html +0 -5
  302. data/samples/navi/res/samples/test_form.html +0 -34
  303. data/samples/navi/res/samples/test_gfx.html +0 -75
  304. data/samples/navi/res/samples/test_lbox.html +0 -100
  305. data/samples/navi/res/samples/test_pr.html +0 -87
  306. data/samples/navi/res/samples/test_weight.html +0 -45
  307. data/samples/navi/res/samples/toolbarTest1.xul +0 -51
  308. data/samples/navi/res/samples/treeTest1.css +0 -62
  309. data/samples/navi/res/samples/treeTest1.xul +0 -110
  310. data/samples/navi/res/samples/xulTest.css +0 -130
  311. data/samples/navi/res/svg.css +0 -64
  312. data/samples/navi/res/table-add-column-after-active.gif +0 -0
  313. data/samples/navi/res/table-add-column-after-hover.gif +0 -0
  314. data/samples/navi/res/table-add-column-after.gif +0 -0
  315. data/samples/navi/res/table-add-column-before-active.gif +0 -0
  316. data/samples/navi/res/table-add-column-before-hover.gif +0 -0
  317. data/samples/navi/res/table-add-column-before.gif +0 -0
  318. data/samples/navi/res/table-add-row-after-active.gif +0 -0
  319. data/samples/navi/res/table-add-row-after-hover.gif +0 -0
  320. data/samples/navi/res/table-add-row-after.gif +0 -0
  321. data/samples/navi/res/table-add-row-before-active.gif +0 -0
  322. data/samples/navi/res/table-add-row-before-hover.gif +0 -0
  323. data/samples/navi/res/table-add-row-before.gif +0 -0
  324. data/samples/navi/res/table-remove-column-active.gif +0 -0
  325. data/samples/navi/res/table-remove-column-hover.gif +0 -0
  326. data/samples/navi/res/table-remove-column.gif +0 -0
  327. data/samples/navi/res/table-remove-row-active.gif +0 -0
  328. data/samples/navi/res/table-remove-row-hover.gif +0 -0
  329. data/samples/navi/res/table-remove-row.gif +0 -0
  330. data/samples/navi/res/throbber/Thumbs.db +0 -0
  331. data/samples/navi/res/throbber/anim.gif +0 -0
  332. data/samples/navi/res/throbber/anims00.gif +0 -0
  333. data/samples/navi/res/throbber/anims01.gif +0 -0
  334. data/samples/navi/res/throbber/anims02.gif +0 -0
  335. data/samples/navi/res/throbber/anims03.gif +0 -0
  336. data/samples/navi/res/throbber/anims04.gif +0 -0
  337. data/samples/navi/res/throbber/anims05.gif +0 -0
  338. data/samples/navi/res/throbber/anims06.gif +0 -0
  339. data/samples/navi/res/throbber/anims07.gif +0 -0
  340. data/samples/navi/res/throbber/anims08.gif +0 -0
  341. data/samples/navi/res/throbber/anims09.gif +0 -0
  342. data/samples/navi/res/throbber/anims10.gif +0 -0
  343. data/samples/navi/res/throbber/anims11.gif +0 -0
  344. data/samples/navi/res/throbber/anims12.gif +0 -0
  345. data/samples/navi/res/throbber/anims13.gif +0 -0
  346. data/samples/navi/res/throbber/anims14.gif +0 -0
  347. data/samples/navi/res/throbber/anims15.gif +0 -0
  348. data/samples/navi/res/throbber/anims16.gif +0 -0
  349. data/samples/navi/res/throbber/anims17.gif +0 -0
  350. data/samples/navi/res/throbber/anims18.gif +0 -0
  351. data/samples/navi/res/throbber/anims19.gif +0 -0
  352. data/samples/navi/res/throbber/anims20.gif +0 -0
  353. data/samples/navi/res/throbber/anims21.gif +0 -0
  354. data/samples/navi/res/throbber/anims22.gif +0 -0
  355. data/samples/navi/res/throbber/anims23.gif +0 -0
  356. data/samples/navi/res/throbber/anims24.gif +0 -0
  357. data/samples/navi/res/throbber/anims25.gif +0 -0
  358. data/samples/navi/res/throbber/anims26.gif +0 -0
  359. data/samples/navi/res/throbber/anims27.gif +0 -0
  360. data/samples/navi/res/throbber/anims28.gif +0 -0
  361. data/samples/navi/res/throbber/anims29.gif +0 -0
  362. data/samples/navi/res/ua.css +0 -235
  363. data/samples/navi/res/viewer.properties +0 -1
  364. data/samples/navi/res/viewsource.css +0 -118
  365. data/samples/navi/res/wincharset.properties +0 -55
  366. data/samples/navi/resources.cfg +0 -14
  367. data/samples/navi/testNaviMask.png +0 -0
  368. data/samples/render_run_log.5796 +0 -891
@@ -1,79 +0,0 @@
1
- <HTML>
2
- <HEAD>
3
- <TITLE>A frame document with CSS2</TITLE>
4
- <meta name="crc" content=1064543067>
5
- <STYLE type="text/css">
6
- #header {
7
- position: fixed;
8
- width: 100%;
9
- height: 15%;
10
- top: 0;
11
- right: 0;
12
- bottom: auto;
13
- left: 0;
14
- background-color: #cccccc;
15
- }
16
- #sidebar {
17
- position: fixed;
18
- width: 10em;
19
- height: auto;
20
- top: 15%;
21
- right: auto;
22
- bottom: 100px;
23
- left: 0;
24
- font-style: italic;
25
- background-color: #ffffe0;
26
- }
27
- #main {
28
- position: fixed;
29
- width: auto;
30
- height: auto;
31
- top: 15%;
32
- right: 0;
33
- bottom: 100px;
34
- left: 10em;
35
- overflow: auto;
36
- padding: 2px .5em;
37
- border: solid 1px black;
38
- background-color: #ffffff;
39
- }
40
- #footer {
41
- position: fixed;
42
- width: 100%;
43
- height: 100px;
44
- top: auto;
45
- right: 0;
46
- bottom: 0;
47
- left: 0;
48
- text-align: center;
49
- margin-top: auto;
50
- background-color: #cccccc;
51
- }
52
- </STYLE>
53
- </HEAD>
54
- <BODY>
55
- <DIV id="header">
56
- <table width=100% height=100%><tr><td style="font-style: italic" align=center valign=middle>Header</td></tr></table>
57
- </DIV>
58
- <DIV id="sidebar">
59
- <P style="padding-left: 2em; padding-top: 2em">S<br>i<br>d<br>e<br>b<br>a<br>r</p>
60
- </DIV>
61
- <DIV id="main">
62
- <h2>Introduction</h2>This is an example of fixed positioning.
63
- <h2>Layout</h2>This example is straight from the CSS2 spec (section 9.6.1) and shows how to create
64
- frame-like presentations. This is the main text of the document that's inside of a fixed position
65
- scrollable DIV tag.
66
- <p>The header, footer, and sidebar are all done with fixed position DIV tags, too. The header and
67
- footer have nested tables that are used to center the text horizontally and vertically.
68
- <h2>Fixed positioning</h2>Fixed positioning is a subcategory of absolute positioning. The only
69
- difference is that for a fixed positioned box, the containing block is established by the viewport.
70
- <p>For continuous media, fixed boxes do not move when the document is scrolled. In this respect, they
71
- are similar to fixed background images. For paged media, boxes with fixed positions are repeated on
72
- every page.
73
- </DIV>
74
- <DIV id="footer">
75
- <table width=100% height=100%><tr><td style="font-style: italic" align=center valign=middle>Footer</td></tr></table>
76
- </DIV>
77
- </BODY>
78
- </HTML>
79
-
@@ -1,126 +0,0 @@
1
- <HTML>
2
- <BODY Background="rock_gra.gif" onload="startit();">
3
- <DIV style="color:red; position:absolute; top:-40px; left:0px;">
4
- <!-- <DIV style="opacity:0.4; color:red; position:absolute; top:-40px; left:0px;"> -->
5
- <font point-size=200 face="verdana">
6
- <b>Red</b>
7
- </font></div>
8
- <DIV style="color:darkgreen; position:absolute; top:50px; left:50px;">
9
- <!-- <DIV style="opacity:0.4; color:darkgreen; position:absolute; top:50px; left:50px;"> -->
10
- <font point-size=200>
11
- <b>Green</b>
12
- </font></div>
13
- <DIV style="color:blue; position:absolute; top:100px; left:100px;">
14
- <!-- <DIV style="opacity:0.4; color:blue; position:absolute; top:100px; left:100px;"> -->
15
- <font point-size=200 face="comic sans ms">
16
- <b>Blue</b>
17
- </font></div>
18
- <DIV style="background-color:pink; position:absolute; top:100px; left:100px;">
19
- <font point-size=100 face="symbol">
20
- <b>Opaque</b>
21
- </font></div>
22
- <script>
23
- var d0x = -40, d0y = 0;
24
- var d1x = 50, d1y = 50;
25
- var d2x = 100, d2y = 100;
26
-
27
- var d0xinc = 20, d0yinc = -20;
28
- var d1xinc = -30, d1yinc = 20;
29
- var d2xinc = 40, d2yinc = -30;
30
-
31
- var opac0 = 40.0;
32
- var opac1 = 40.0;
33
- var opac2 = 40.0;
34
-
35
- var opac0inc = 10.0;
36
- var opac1inc = -10.0;
37
- var opac2inc = 20.0;
38
-
39
- function movedivs()
40
- {
41
- d=document.getElementsByTagName("div");
42
-
43
- d0x += d0xinc;
44
- d1x += d1xinc;
45
- d2x += d2xinc;
46
-
47
- d0y += d0yinc;
48
- d1y += d1yinc;
49
- d2y += d2yinc;
50
-
51
- if ((d0x < -50) || (d0x > (window.innerWidth - 300)))
52
- d0xinc = -d0xinc;
53
-
54
- if ((d1x < -50) || (d1x > (window.innerWidth - 300)))
55
- d1xinc = -d1xinc;
56
-
57
- if ((d2x < -50) || (d2x > (window.innerWidth - 300)))
58
- d2xinc = -d2xinc;
59
-
60
- if ((d0y < -50) || (d0y > (window.innerHeight - 200)))
61
- d0yinc = -d0yinc;
62
-
63
- if ((d1y < -50) || (d1y > (window.innerHeight - 200)))
64
- d1yinc = -d1yinc;
65
-
66
- if ((d2y < -50) || (d2y > (window.innerHeight - 200)))
67
- d2yinc = -d2yinc;
68
-
69
- opac0 += opac0inc;
70
- opac1 += opac1inc;
71
- opac2 += opac2inc;
72
-
73
- if (opac0 > 100.0)
74
- {
75
- opac0 = 100.0;
76
- opac0inc = -opac0inc;
77
- }
78
- else if (opac0 < 0.0)
79
- {
80
- opac0 = 0.0;
81
- opac0inc = -opac0inc;
82
- }
83
-
84
- if (opac1 > 100.0)
85
- {
86
- opac1 = 100.0;
87
- opac1inc = -opac1inc;
88
- }
89
- else if (opac1 < 0.0)
90
- {
91
- opac1 = 0.0;
92
- opac1inc = -opac1inc;
93
- }
94
-
95
- if (opac2 > 100.0)
96
- {
97
- opac2 = 100.0;
98
- opac2inc = -opac2inc;
99
- }
100
- else if (opac2 < 0.0)
101
- {
102
- opac2 = 0.0;
103
- opac2inc = -opac2inc;
104
- }
105
-
106
- d[0].style.left = d0x + "px";
107
- d[0].style.top = d0y + "px";
108
- /* d[0].style.opacity = 100/opac0;*/
109
-
110
- d[1].style.left = d1x + "px";
111
- d[1].style.top = d1y + "px";
112
- /* d[1].style.opacity = 100/opac1;*/
113
-
114
- d[2].style.left = d2x + "px";
115
- d[2].style.top = d2y + "px";
116
- /* d[2].style.opacity = 100/opac2;*/
117
-
118
- setTimeout(movedivs, 10);
119
- }
120
-
121
- function startit() {
122
- setTimeout(movedivs, 10);
123
- }
124
- </script>
125
- </BODY>
126
- </HTML>
@@ -1,5 +0,0 @@
1
- <HTML>
2
- <HEAD>
3
- <META http-equiv="refresh" content="0; URL=http://www.mozilla.org/newlayout/xml/debugdemos/books/books.xml">
4
- </HEAD>
5
- </HTML>
@@ -1,5 +0,0 @@
1
- <HTML>
2
- <HEAD>
3
- <META http-equiv="refresh" content="0; URL=http://www.mozilla.org/newlayout/xml/debugdemos/tocdemo/rights.xml">
4
- </HEAD>
5
- </HTML>
@@ -1,124 +0,0 @@
1
- <HTML>
2
-
3
- <HEAD>
4
- <LINK REL=STYLESHEET TYPE="text/css" HREF="mozform.css">
5
- <LINK REL=STYLESHEET TYPE="text/css" HREF="aform.css">
6
- <LINK REL=STYLESHEET TYPE="text/css" HREF="bform.css">
7
- <LINK REL=STYLESHEET TYPE="text/css" HREF="cform.css">
8
- <LINK REL=STYLESHEET TYPE="text/css" HREF="demoform.css">
9
-
10
- <STYLE>
11
- .gear {
12
- display:list-item;
13
- list-style-position:inside;
14
- list-style-image: url("gear1.gif");
15
- background-color:white;
16
- }
17
-
18
- .eyes {
19
- display:list-item;
20
- list-style-position:inside;
21
- list-style-image: url("Anieyes.gif");
22
- background-color:white;
23
- }
24
-
25
- .raindrops {
26
- display:list-item;
27
- list-style-position:inside;
28
- list-style-image: url("raindrops_light.gif");
29
- background-color:white;
30
- }
31
-
32
- .rock {
33
- display:list-item;
34
- list-style-position:inside;
35
- list-style-image: url("rock_gra.gif");
36
- background-color:white;
37
- }
38
-
39
- .raptor {
40
- display:list-item;
41
- list-style-position:inside;
42
- list-style-image: url("raptor.jpg");
43
- background-color:white;
44
- }
45
-
46
- </STYLE>
47
-
48
- <SCRIPT language="JavaScript">
49
-
50
- function usestyle(styletype)
51
- {
52
- for (i = 0; i < 5; i++) {
53
- if (styletype != i)
54
- document.styleSheets[i].disabled = true;
55
- else
56
- document.styleSheets[i].disabled = false;
57
- }
58
- }
59
- </SCRIPT>
60
- </HEAD>
61
-
62
- <BODY style="background-color:rgb(200, 200, 200);">
63
- <H1>Example 16: Gfx rendered widgets</H1>
64
- <P> This test requires gfx rendering to be enabled</P>
65
- <FORM>
66
- <INPUT type=button onclick="usestyle(4)" value="Demo Style">
67
- <INPUT type=button onclick="usestyle(0)" value="Mozilla Style">
68
- <INPUT type=button onclick="usestyle(1)" value="Style A">
69
- <INPUT type=button onclick="usestyle(2)" value="Style B">
70
- <INPUT type=button onclick="usestyle(3)" value="Style C">
71
- <BR>
72
- <INPUT checked type=checkbox>untitled
73
- <INPUT type=checkbox>untitled
74
- <BR>
75
- <INPUT checked type=radio name=radio>untitled
76
- <INPUT type=radio name=radio>untitled
77
- <BR>
78
- <INPUT type=button value="test">
79
- <INPUT type=button style="font-weight:bold;" value="test">
80
- <BR>
81
- <BR>
82
- <SELECT size=1>
83
- <OPTION>item 1</OPTION>
84
- <OPTION>item 2</OPTION>
85
- <OPTION selected>item 3</OPTION>
86
- <OPTION>item 4</OPTION>
87
- <OPTION>item 5</OPTION>
88
- </SELECT>
89
- <SELECT size=4>
90
- <OPTION>option 1</OPTION>
91
- <OPTION selected>option 2</OPTION>
92
- <OPTION>option 3</OPTION>
93
- <OPTION>option 4</OPTION>
94
- </SELECT>
95
- <SELECT size=1>
96
- <OPTGROUP>group 1
97
- <OPTION>option A</OPTION>
98
- <OPTION>option B</OPTION>
99
- </OPTGROUP>group 1
100
- <OPTGROUP>group 2
101
- <OPTION>option C</OPTION>
102
- <OPTION>option D</OPTION>
103
- </OPTGROUP>group 2
104
- </SELECT>
105
-
106
- <SELECT size = 4>
107
- <OPTGROUP>group 1
108
- <OPTION>option A</OPTION>
109
- <OPTION>option B</OPTION>
110
- </OPTGROUP>group 1
111
- <OPTGROUP>group 2
112
- <OPTION>option C</OPTION>
113
- <OPTION>option D</OPTION>
114
- </OPTGROUP>group 2
115
- </SELECT>
116
-
117
- <!--SELECT size=1 style="width:120px;">
118
- <OPTION class="gear">gears<OPTION>
119
- <OPTION class="eyes">eyes<OPTION>
120
- </SELECT-->
121
-
122
- </FORM>
123
- </BODY>
124
- </HTML>
@@ -1,41 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Example 2</title>
4
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-
6
- <style>
7
- PRE {
8
- background-image: url(gear1.gif);
9
- background-repeat: repeat;
10
- }
11
-
12
- </style>
13
- <meta name="crc" content=2304870356>
14
-
15
- </head>
16
-
17
- <body bgcolor="#FFFFFF" text="#000000">
18
- <h1>Example 2: HTML Images</h1>
19
- <h2>Images</h2>
20
- <h3>JPEGs:</h3>
21
- <p><img src="raptor.jpg" align=left>This is some text to show how a paragraph
22
- would flow around an image. This is some text to show how a paragraph would
23
- flow around an image. This is some text to show how a paragraph would flow around
24
- an image. </p>
25
- <p>This is some text to show how a paragraph would flow around an image. This
26
- is some text to show how a paragraph would flow around an image. This is some
27
- text to show how a paragraph would flow around an image. This is some text to
28
- show how a paragraph would flow around an image. This is some text to show how
29
- a paragraph would flow around an image. </p>
30
- <h3>Animated GIFs:</h3>
31
- <h3><img src="Anieyes.gif" width="72" height="37"></h3>
32
- <h3>Background Images:</h3>
33
- <pre>This is a preformatted paragraph with a animated background image.
34
- This is a preformatted paragraph with a animated background image.
35
- This is a preformatted paragraph with a animated background image.
36
- This is a preformatted paragraph with a animated background image.
37
- This is a preformatted paragraph with a animated background image.
38
- </pre>
39
-
40
- </body>
41
- </html>
@@ -1,126 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Example 3</title>
4
- <meta name="crc" content=2849229639>
5
- </head>
6
-
7
- <body bgcolor="#FFFFFF" text="#000000">
8
- <h1>Example 3: Basic Tables</h1>
9
- <h2>Simple table, 75% width, border=1</h2>
10
- <table border="1" width="75%">
11
- <tr>
12
- <td bgcolor=blue>cell bg</td>
13
- <td>Two</td>
14
- <td>Three</td>
15
- </tr>
16
- <tr>
17
- <td align=left>left</td>
18
- <td align=center>center</td>
19
- <td align=right>right</td>
20
- </tr>
21
- <tr bgcolor=yellow>
22
- <td height=50>row bg</td>
23
- <td valign=top>top</td>
24
- <td valign=bottom>bottom</td>
25
- </tr>
26
- </table>
27
- <h2>Row Span, auto width table, border=5</h2>
28
- <table border=5>
29
- <tr>
30
- <td rowspan=2 >c0r[0-1] Data 1 span=2 rows</td>
31
- <td >c0r0</td>
32
- <td >c1r0</td>
33
- </tr>
34
- <tr>
35
- <td >c0r1</td>
36
- <td >c1r1</td>
37
- </tr>
38
- <tr>
39
- <td rowspan=5 background=bg.jpg>c0r[2-6],Data 2 span=5 rows</td>
40
- <td >c0r2</td>
41
- <td >c1r2</td>
42
- </tr>
43
- <tr>
44
- <td >c0r3</td>
45
- <td >c1r3</td>
46
- </tr>
47
- <tr>
48
- <td >c0r4</td>
49
- <td >c1r4</td>
50
- </tr>
51
- <tr>
52
- <td >c0r5</td>
53
- <td >c1r5</td>
54
- </tr>
55
- <tr>
56
- <td >c0r6</td>
57
- <td >c1r6</td>
58
- </tr>
59
- <tr>
60
- <td rowspan=3 >c0r[7-9] span=3 rows</td>
61
- <td >c0r7</td>
62
- <td >c1r7</td>
63
- </tr>
64
- <tr>
65
- <td >c0r8</td>
66
- <td >c1r8</td>
67
- </tr>
68
- <tr>
69
- <td >c0r9</td>
70
- <td >c1r9</td>
71
- </tr>
72
- </table>
73
- <h2>Col Span auto width table</h2>
74
- <table border >
75
- <tr>
76
- <td colspan=8>r0c[0-7], span=8</td>
77
- <td colspan=10>r0col[8-17], span=10 cols</td>
78
- </tr>
79
- <tr>
80
- <td colspan=3>r1c[0-2], span=3</td>
81
- <td colspan=5>r1c[3-7], span=5</td>
82
- <td colspan=7>r1c[8-14], span=7</td>
83
- <td colspan=3>r1c[15-17], span=3</td>
84
- </tr>
85
- <tr>
86
- <td >r2c0</td>
87
- <td >r2c1</td>
88
- <td >r2c3</td>
89
- <td >r2c4</td>
90
- <td >r2c5</td>
91
- <td >r2c6</td>
92
- <td >r2c7</td>
93
- <td >r2c8</td>
94
- <td >r2c9</td>
95
- <td >r2c10</td>
96
- <td >r2c11</td>
97
- <td >r2c12</td>
98
- <td >r2c13</td>
99
- <td >r2c14</td>
100
- <td >r2c15</td>
101
- <td >r2c16</td>
102
- <td >r2c17</td>
103
- <td >r2c18</td>
104
- </tr>
105
- </table>
106
- <h2>Row and Col Span</h2>
107
- <table border >
108
- <tr>
109
- <td colspan=2 rowspan=2>r[0-2]c[0-1]</td>
110
- <td>r0c2</td>
111
- <td>r0c3</td>
112
- </tr>
113
- <tr>
114
- <td>r1c2</td>
115
- <td>r1c3</td>
116
- </tr>
117
- <tr>
118
- <td>r2c0</td>
119
- <td>r2c1</td>
120
- <td>r2c2</td>
121
- <td>r2c3</td>
122
- </tr>
123
- </table>
124
- <p>&nbsp;</p>
125
- </body>
126
- </html>