ogre.rb 0.1-i686-linux → 0.2-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.
- data/README +43 -5
- data/Rakefile +67 -165
- data/lib/application.rb +2 -1
- data/lib/application_frame_listener.rb +17 -17
- data/lib/ogre.so +0 -0
- data/lib/ruby_ois.so +0 -0
- data/ogre.rb +3 -0
- data/samples/Ogre.log +358 -257
- data/samples/cel_shading.rb +85 -0
- data/samples/grass.rb +1 -1
- data/samples/media/materials/programs/CelShading.cg +63 -0
- data/samples/media/materials/scripts/CelShading.material +68 -0
- data/samples/media/materials/textures/cel_shading_diffuse.png +0 -0
- data/samples/media/materials/textures/cel_shading_edge.png +0 -0
- data/samples/media/materials/textures/cel_shading_specular.png +0 -0
- data/samples/ogre.cfg +1 -2
- data/samples/plugins.cfg +3 -2
- data/test/ogre.cfg +10 -0
- data/{samples/navi → test}/plugins.cfg +2 -4
- data/test/test_helper.rb +67 -0
- data/test/unit/constants_test.rb +66 -0
- data/test/unit/frame_stats_proxy_test.rb +28 -0
- data/test/unit/math_test.rb +20 -0
- data/test/unit/mesh_test.rb +15 -0
- data/test/unit/methods_test.rb +98 -0
- data/test/unit/movable_object_test.rb +19 -0
- data/test/unit/name_value_pair_list_test.rb +12 -0
- data/test/unit/overlay_element_test.rb +20 -0
- data/test/unit/render_target_test.rb +11 -0
- data/test/unit/resource_test.rb +26 -0
- data/test/unit/scene_manager_test.rb +21 -0
- metadata +25 -356
- data/samples/navi/Media/NaviDemo.material +0 -60
- data/samples/navi/Media/OgreCore.zip +0 -0
- data/samples/navi/Media/cerulean.jpg +0 -0
- data/samples/navi/Media/clouds.jpg +0 -0
- data/samples/navi/Media/controlsNaviMask.png +0 -0
- data/samples/navi/Media/grass.jpg +0 -0
- data/samples/navi/Media/knot.mesh +0 -0
- data/samples/navi/Media/testNaviMask.png +0 -0
- data/samples/navi/NaviLocal/Navi.js +0 -136
- data/samples/navi/NaviLocal/buttonBg.jpg +0 -0
- data/samples/navi/NaviLocal/controls.html +0 -303
- data/samples/navi/NaviLocal/knobBg.jpg +0 -0
- data/samples/navi/NaviLocal/moo.dropdownmenu.js +0 -87
- data/samples/navi/NaviLocal/mootools.v1.1.js +0 -6964
- data/samples/navi/NaviLocal/naviLogo.html +0 -32
- data/samples/navi/NaviLocal/naviLogo.png +0 -0
- data/samples/navi/NaviLocal/pageBg.jpg +0 -0
- data/samples/navi/NaviLocal/sliderBg.jpg +0 -0
- data/samples/navi/NaviLocal/test.html +0 -5
- data/samples/navi/NaviLocal/welcome.html +0 -36
- data/samples/navi/NaviLocal/welcome.png +0 -0
- data/samples/navi/chrome/chromelist.txt +0 -597
- data/samples/navi/chrome/classic.jar +0 -0
- data/samples/navi/chrome/classic.manifest +0 -4
- data/samples/navi/chrome/comm.jar +0 -0
- data/samples/navi/chrome/comm.manifest +0 -2
- data/samples/navi/chrome/en-US.jar +0 -0
- data/samples/navi/chrome/en-US.manifest +0 -9
- data/samples/navi/chrome/toolkit.jar +0 -0
- data/samples/navi/chrome/toolkit.manifest +0 -6
- data/samples/navi/components/FeedProcessor.js +0 -1825
- data/samples/navi/components/alerts.xpt +0 -0
- data/samples/navi/components/appshell.xpt +0 -0
- data/samples/navi/components/appstartup.xpt +0 -0
- data/samples/navi/components/auth.dll +0 -0
- data/samples/navi/components/autocomplete.xpt +0 -0
- data/samples/navi/components/autoconfig.dll +0 -0
- data/samples/navi/components/autoconfig.xpt +0 -0
- data/samples/navi/components/caps.xpt +0 -0
- data/samples/navi/components/chardet.xpt +0 -0
- data/samples/navi/components/chrome.xpt +0 -0
- data/samples/navi/components/commandhandler.xpt +0 -0
- data/samples/navi/components/commandlines.xpt +0 -0
- data/samples/navi/components/composer.xpt +0 -0
- data/samples/navi/components/compreg.dat +0 -1474
- data/samples/navi/components/content_base.xpt +0 -0
- data/samples/navi/components/content_html.xpt +0 -0
- data/samples/navi/components/content_htmldoc.xpt +0 -0
- data/samples/navi/components/content_xmldoc.xpt +0 -0
- data/samples/navi/components/content_xslt.xpt +0 -0
- data/samples/navi/components/content_xtf.xpt +0 -0
- data/samples/navi/components/directory.xpt +0 -0
- data/samples/navi/components/docshell_base.xpt +0 -0
- data/samples/navi/components/dom.xpt +0 -0
- data/samples/navi/components/dom_base.xpt +0 -0
- data/samples/navi/components/dom_canvas.xpt +0 -0
- data/samples/navi/components/dom_core.xpt +0 -0
- data/samples/navi/components/dom_css.xpt +0 -0
- data/samples/navi/components/dom_events.xpt +0 -0
- data/samples/navi/components/dom_html.xpt +0 -0
- data/samples/navi/components/dom_loadsave.xpt +0 -0
- data/samples/navi/components/dom_range.xpt +0 -0
- data/samples/navi/components/dom_sidebar.xpt +0 -0
- data/samples/navi/components/dom_storage.xpt +0 -0
- data/samples/navi/components/dom_stylesheets.xpt +0 -0
- data/samples/navi/components/dom_svg.xpt +0 -0
- data/samples/navi/components/dom_traversal.xpt +0 -0
- data/samples/navi/components/dom_views.xpt +0 -0
- data/samples/navi/components/dom_xbl.xpt +0 -0
- data/samples/navi/components/dom_xpath.xpt +0 -0
- data/samples/navi/components/dom_xul.xpt +0 -0
- data/samples/navi/components/downloads.xpt +0 -0
- data/samples/navi/components/editor.xpt +0 -0
- data/samples/navi/components/embed_base.xpt +0 -0
- data/samples/navi/components/extensions.xpt +0 -0
- data/samples/navi/components/exthandler.xpt +0 -0
- data/samples/navi/components/fastfind.xpt +0 -0
- data/samples/navi/components/feeds.xpt +0 -0
- data/samples/navi/components/find.xpt +0 -0
- data/samples/navi/components/gfx.xpt +0 -0
- data/samples/navi/components/gksvgrenderer.xpt +0 -0
- data/samples/navi/components/history.xpt +0 -0
- data/samples/navi/components/htmlparser.xpt +0 -0
- data/samples/navi/components/imglib2.xpt +0 -0
- data/samples/navi/components/inspector.xpt +0 -0
- data/samples/navi/components/intl.xpt +0 -0
- data/samples/navi/components/intlcmpt.xpt +0 -0
- data/samples/navi/components/jar.xpt +0 -0
- data/samples/navi/components/jsconsole-clhandler.js +0 -170
- data/samples/navi/components/jsconsole.xpt +0 -0
- data/samples/navi/components/jsdservice.xpt +0 -0
- data/samples/navi/components/layout_base.xpt +0 -0
- data/samples/navi/components/layout_printing.xpt +0 -0
- data/samples/navi/components/layout_xul.xpt +0 -0
- data/samples/navi/components/layout_xul_tree.xpt +0 -0
- data/samples/navi/components/locale.xpt +0 -0
- data/samples/navi/components/lwbrk.xpt +0 -0
- data/samples/navi/components/mimetype.xpt +0 -0
- data/samples/navi/components/mozbrwsr.xpt +0 -0
- data/samples/navi/components/mozfind.xpt +0 -0
- data/samples/navi/components/necko.xpt +0 -0
- data/samples/navi/components/necko_about.xpt +0 -0
- data/samples/navi/components/necko_cache.xpt +0 -0
- data/samples/navi/components/necko_cookie.xpt +0 -0
- data/samples/navi/components/necko_data.xpt +0 -0
- data/samples/navi/components/necko_dns.xpt +0 -0
- data/samples/navi/components/necko_file.xpt +0 -0
- data/samples/navi/components/necko_ftp.xpt +0 -0
- data/samples/navi/components/necko_http.xpt +0 -0
- data/samples/navi/components/necko_res.xpt +0 -0
- data/samples/navi/components/necko_socket.xpt +0 -0
- data/samples/navi/components/necko_strconv.xpt +0 -0
- data/samples/navi/components/necko_viewsource.xpt +0 -0
- data/samples/navi/components/nsCloseAllWindows.js +0 -143
- data/samples/navi/components/nsDefaultCLH.js +0 -231
- data/samples/navi/components/nsDictionary.js +0 -148
- data/samples/navi/components/nsExtensionManager.js +0 -8497
- data/samples/navi/components/nsHelperAppDlg.js +0 -990
- data/samples/navi/components/nsInterfaceInfoToIDL.js +0 -590
- data/samples/navi/components/nsKillAll.js +0 -200
- data/samples/navi/components/nsPostUpdateWin.js +0 -711
- data/samples/navi/components/nsProgressDialog.js +0 -949
- data/samples/navi/components/nsProxyAutoConfig.js +0 -396
- data/samples/navi/components/nsResetPref.js +0 -175
- data/samples/navi/components/nsURLFormatter.js +0 -179
- data/samples/navi/components/nsUpdateService.js +0 -3074
- data/samples/navi/components/nsXULAppInstall.js +0 -301
- data/samples/navi/components/nsXmlRpcClient.js +0 -1038
- data/samples/navi/components/oji.xpt +0 -0
- data/samples/navi/components/passwordmgr.xpt +0 -0
- data/samples/navi/components/pipboot.xpt +0 -0
- data/samples/navi/components/pipnss.xpt +0 -0
- data/samples/navi/components/plugin.xpt +0 -0
- data/samples/navi/components/pref.xpt +0 -0
- data/samples/navi/components/prefetch.xpt +0 -0
- data/samples/navi/components/profile.xpt +0 -0
- data/samples/navi/components/progressDlg.xpt +0 -0
- data/samples/navi/components/proxyObject.xpt +0 -0
- data/samples/navi/components/rdf.xpt +0 -0
- data/samples/navi/components/satchel.xpt +0 -0
- data/samples/navi/components/saxparser.xpt +0 -0
- data/samples/navi/components/shistory.xpt +0 -0
- data/samples/navi/components/storage.xpt +0 -0
- data/samples/navi/components/toolkitprofile.xpt +0 -0
- data/samples/navi/components/transformiix.dll +0 -0
- data/samples/navi/components/txmgr.xpt +0 -0
- data/samples/navi/components/txtsvc.xpt +0 -0
- data/samples/navi/components/uconv.xpt +0 -0
- data/samples/navi/components/unicharutil.xpt +0 -0
- data/samples/navi/components/universalchardet.dll +0 -0
- data/samples/navi/components/update.xpt +0 -0
- data/samples/navi/components/uriloader.xpt +0 -0
- data/samples/navi/components/urlformatter.xpt +0 -0
- data/samples/navi/components/webBrowser_core.xpt +0 -0
- data/samples/navi/components/webbrowserpersist.xpt +0 -0
- data/samples/navi/components/webshell_idls.xpt +0 -0
- data/samples/navi/components/websrvcs.dll +0 -0
- data/samples/navi/components/websrvcs.xpt +0 -0
- data/samples/navi/components/widget.xpt +0 -0
- data/samples/navi/components/windowds.xpt +0 -0
- data/samples/navi/components/windowwatcher.xpt +0 -0
- data/samples/navi/components/xml-rpc.xpt +0 -0
- data/samples/navi/components/xmlextras.dll +0 -0
- data/samples/navi/components/xpcom_base.xpt +0 -0
- data/samples/navi/components/xpcom_components.xpt +0 -0
- data/samples/navi/components/xpcom_ds.xpt +0 -0
- data/samples/navi/components/xpcom_io.xpt +0 -0
- data/samples/navi/components/xpcom_obsolete.xpt +0 -0
- data/samples/navi/components/xpcom_thread.xpt +0 -0
- data/samples/navi/components/xpcom_xpti.xpt +0 -0
- data/samples/navi/components/xpconnect.xpt +0 -0
- data/samples/navi/components/xpinstall.xpt +0 -0
- data/samples/navi/components/xpti.dat +0 -1424
- data/samples/navi/components/xulapp.xpt +0 -0
- data/samples/navi/components/xulapp_setup.xpt +0 -0
- data/samples/navi/components/xuldoc.xpt +0 -0
- data/samples/navi/components/xulrunner.xpt +0 -0
- data/samples/navi/components/xultmpl.xpt +0 -0
- data/samples/navi/components/xulutil.dll +0 -0
- data/samples/navi/controlsNaviMask.png +0 -0
- data/samples/navi/greprefs/all.js +0 -1344
- data/samples/navi/greprefs/security-prefs.js +0 -69
- data/samples/navi/greprefs/xpinstall.js +0 -2
- data/samples/navi/navi_demo.rb +0 -207
- data/samples/navi/plugins/NPSWF32.dll +0 -0
- data/samples/navi/plugins/flashplayer.xpt +0 -0
- data/samples/navi/plugins/npnul32.dll +0 -0
- data/samples/navi/res/EditorOverride.css +0 -359
- data/samples/navi/res/Thumbs.db +0 -0
- data/samples/navi/res/arrow.gif +0 -0
- data/samples/navi/res/arrowd.gif +0 -0
- data/samples/navi/res/bloatcycle.html +0 -40
- data/samples/navi/res/broken-image.gif +0 -0
- data/samples/navi/res/charsetData.properties +0 -199
- data/samples/navi/res/charsetalias.properties +0 -517
- data/samples/navi/res/cmessage.txt +0 -1
- data/samples/navi/res/dtd/xhtml11.dtd +0 -300
- data/samples/navi/res/entityTables/html40Latin1.properties +0 -146
- data/samples/navi/res/entityTables/html40Special.properties +0 -69
- data/samples/navi/res/entityTables/html40Symbols.properties +0 -164
- data/samples/navi/res/entityTables/htmlEntityVersions.properties +0 -50
- data/samples/navi/res/entityTables/transliterate.properties +0 -2367
- data/samples/navi/res/fonts/fontEncoding.properties +0 -127
- data/samples/navi/res/fonts/fontNameMap.properties +0 -134
- data/samples/navi/res/forms.css +0 -531
- data/samples/navi/res/grabber.gif +0 -0
- data/samples/navi/res/hiddenWindow.html +0 -1
- data/samples/navi/res/html/Thumbs.db +0 -0
- data/samples/navi/res/html/gopher-audio.gif +0 -0
- data/samples/navi/res/html/gopher-binary.gif +0 -0
- data/samples/navi/res/html/gopher-find.gif +0 -0
- data/samples/navi/res/html/gopher-image.gif +0 -0
- data/samples/navi/res/html/gopher-menu.gif +0 -0
- data/samples/navi/res/html/gopher-movie.gif +0 -0
- data/samples/navi/res/html/gopher-sound.gif +0 -0
- data/samples/navi/res/html/gopher-telnet.gif +0 -0
- data/samples/navi/res/html/gopher-text.gif +0 -0
- data/samples/navi/res/html/gopher-unknown.gif +0 -0
- data/samples/navi/res/html.css +0 -478
- data/samples/navi/res/langGroups.properties +0 -236
- data/samples/navi/res/language.properties +0 -259
- data/samples/navi/res/loading-image.gif +0 -0
- data/samples/navi/res/quirk.css +0 -282
- data/samples/navi/res/samples/Anieyes.gif +0 -0
- data/samples/navi/res/samples/Thumbs.db +0 -0
- data/samples/navi/res/samples/aform.css +0 -69
- data/samples/navi/res/samples/beeptest.html +0 -18
- data/samples/navi/res/samples/bform.css +0 -45
- data/samples/navi/res/samples/bg.jpg +0 -0
- data/samples/navi/res/samples/cform.css +0 -40
- data/samples/navi/res/samples/checkboxTest.xul +0 -47
- data/samples/navi/res/samples/demoform.css +0 -97
- data/samples/navi/res/samples/find.html +0 -97
- data/samples/navi/res/samples/gear1.gif +0 -0
- data/samples/navi/res/samples/image_props.html +0 -58
- data/samples/navi/res/samples/mozform.css +0 -256
- data/samples/navi/res/samples/printsetup.html +0 -175
- data/samples/navi/res/samples/raptor.jpg +0 -0
- data/samples/navi/res/samples/rock_gra.gif +0 -0
- data/samples/navi/res/samples/scrollbarTest1.xul +0 -66
- data/samples/navi/res/samples/scrollbarTest2.xul +0 -19
- data/samples/navi/res/samples/sliderTest1.xul +0 -14
- data/samples/navi/res/samples/soundtest.html +0 -20
- data/samples/navi/res/samples/test.wav +0 -0
- data/samples/navi/res/samples/test0.html +0 -220
- data/samples/navi/res/samples/test1.html +0 -84
- data/samples/navi/res/samples/test10.html +0 -16
- data/samples/navi/res/samples/test11.html +0 -42
- data/samples/navi/res/samples/test12.html +0 -79
- data/samples/navi/res/samples/test13.html +0 -126
- data/samples/navi/res/samples/test14.html +0 -5
- data/samples/navi/res/samples/test15.html +0 -5
- data/samples/navi/res/samples/test16.html +0 -124
- data/samples/navi/res/samples/test2.html +0 -41
- data/samples/navi/res/samples/test3.html +0 -126
- data/samples/navi/res/samples/test4.html +0 -335
- data/samples/navi/res/samples/test5.html +0 -199
- data/samples/navi/res/samples/test6.html +0 -335
- data/samples/navi/res/samples/test7.html +0 -11
- data/samples/navi/res/samples/test8-1.html +0 -66
- data/samples/navi/res/samples/test8.html +0 -662
- data/samples/navi/res/samples/test8dom.html +0 -64
- data/samples/navi/res/samples/test8sca.html +0 -308
- data/samples/navi/res/samples/test8siz.html +0 -224
- data/samples/navi/res/samples/test8tab.html +0 -9
- data/samples/navi/res/samples/test9.html +0 -12
- data/samples/navi/res/samples/test9a.html +0 -39
- data/samples/navi/res/samples/test9b.html +0 -16
- data/samples/navi/res/samples/test_ed.html +0 -5
- data/samples/navi/res/samples/test_form.html +0 -34
- data/samples/navi/res/samples/test_gfx.html +0 -75
- data/samples/navi/res/samples/test_lbox.html +0 -100
- data/samples/navi/res/samples/test_pr.html +0 -87
- data/samples/navi/res/samples/test_weight.html +0 -45
- data/samples/navi/res/samples/toolbarTest1.xul +0 -51
- data/samples/navi/res/samples/treeTest1.css +0 -62
- data/samples/navi/res/samples/treeTest1.xul +0 -110
- data/samples/navi/res/samples/xulTest.css +0 -130
- data/samples/navi/res/svg.css +0 -64
- data/samples/navi/res/table-add-column-after-active.gif +0 -0
- data/samples/navi/res/table-add-column-after-hover.gif +0 -0
- data/samples/navi/res/table-add-column-after.gif +0 -0
- data/samples/navi/res/table-add-column-before-active.gif +0 -0
- data/samples/navi/res/table-add-column-before-hover.gif +0 -0
- data/samples/navi/res/table-add-column-before.gif +0 -0
- data/samples/navi/res/table-add-row-after-active.gif +0 -0
- data/samples/navi/res/table-add-row-after-hover.gif +0 -0
- data/samples/navi/res/table-add-row-after.gif +0 -0
- data/samples/navi/res/table-add-row-before-active.gif +0 -0
- data/samples/navi/res/table-add-row-before-hover.gif +0 -0
- data/samples/navi/res/table-add-row-before.gif +0 -0
- data/samples/navi/res/table-remove-column-active.gif +0 -0
- data/samples/navi/res/table-remove-column-hover.gif +0 -0
- data/samples/navi/res/table-remove-column.gif +0 -0
- data/samples/navi/res/table-remove-row-active.gif +0 -0
- data/samples/navi/res/table-remove-row-hover.gif +0 -0
- data/samples/navi/res/table-remove-row.gif +0 -0
- data/samples/navi/res/throbber/Thumbs.db +0 -0
- data/samples/navi/res/throbber/anim.gif +0 -0
- data/samples/navi/res/throbber/anims00.gif +0 -0
- data/samples/navi/res/throbber/anims01.gif +0 -0
- data/samples/navi/res/throbber/anims02.gif +0 -0
- data/samples/navi/res/throbber/anims03.gif +0 -0
- data/samples/navi/res/throbber/anims04.gif +0 -0
- data/samples/navi/res/throbber/anims05.gif +0 -0
- data/samples/navi/res/throbber/anims06.gif +0 -0
- data/samples/navi/res/throbber/anims07.gif +0 -0
- data/samples/navi/res/throbber/anims08.gif +0 -0
- data/samples/navi/res/throbber/anims09.gif +0 -0
- data/samples/navi/res/throbber/anims10.gif +0 -0
- data/samples/navi/res/throbber/anims11.gif +0 -0
- data/samples/navi/res/throbber/anims12.gif +0 -0
- data/samples/navi/res/throbber/anims13.gif +0 -0
- data/samples/navi/res/throbber/anims14.gif +0 -0
- data/samples/navi/res/throbber/anims15.gif +0 -0
- data/samples/navi/res/throbber/anims16.gif +0 -0
- data/samples/navi/res/throbber/anims17.gif +0 -0
- data/samples/navi/res/throbber/anims18.gif +0 -0
- data/samples/navi/res/throbber/anims19.gif +0 -0
- data/samples/navi/res/throbber/anims20.gif +0 -0
- data/samples/navi/res/throbber/anims21.gif +0 -0
- data/samples/navi/res/throbber/anims22.gif +0 -0
- data/samples/navi/res/throbber/anims23.gif +0 -0
- data/samples/navi/res/throbber/anims24.gif +0 -0
- data/samples/navi/res/throbber/anims25.gif +0 -0
- data/samples/navi/res/throbber/anims26.gif +0 -0
- data/samples/navi/res/throbber/anims27.gif +0 -0
- data/samples/navi/res/throbber/anims28.gif +0 -0
- data/samples/navi/res/throbber/anims29.gif +0 -0
- data/samples/navi/res/ua.css +0 -235
- data/samples/navi/res/viewer.properties +0 -1
- data/samples/navi/res/viewsource.css +0 -118
- data/samples/navi/res/wincharset.properties +0 -55
- data/samples/navi/resources.cfg +0 -14
- data/samples/navi/testNaviMask.png +0 -0
- data/samples/render_run_log.5796 +0 -891
data/samples/navi/res/forms.css
DELETED
@@ -1,531 +0,0 @@
|
|
1
|
-
/* ***** BEGIN LICENSE BLOCK *****
|
2
|
-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
3
|
-
*
|
4
|
-
* The contents of this file are subject to the Mozilla Public License Version
|
5
|
-
* 1.1 (the "License"); you may not use this file except in compliance with
|
6
|
-
* the License. You may obtain a copy of the License at
|
7
|
-
* http://www.mozilla.org/MPL/
|
8
|
-
*
|
9
|
-
* Software distributed under the License is distributed on an "AS IS" basis,
|
10
|
-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11
|
-
* for the specific language governing rights and limitations under the
|
12
|
-
* License.
|
13
|
-
*
|
14
|
-
* The Original Code is mozilla.org code.
|
15
|
-
*
|
16
|
-
* The Initial Developer of the Original Code is
|
17
|
-
* Netscape Communications Corporation.
|
18
|
-
* Portions created by the Initial Developer are Copyright (C) 1998
|
19
|
-
* the Initial Developer. All Rights Reserved.
|
20
|
-
*
|
21
|
-
* Contributor(s):
|
22
|
-
*
|
23
|
-
* Alternatively, the contents of this file may be used under the terms of
|
24
|
-
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
25
|
-
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
26
|
-
* in which case the provisions of the GPL or the LGPL are applicable instead
|
27
|
-
* of those above. If you wish to allow use of your version of this file only
|
28
|
-
* under the terms of either the GPL or the LGPL, and not to allow others to
|
29
|
-
* use your version of this file under the terms of the MPL, indicate your
|
30
|
-
* decision by deleting the provisions above and replace them with the notice
|
31
|
-
* and other provisions required by the GPL or the LGPL. If you do not delete
|
32
|
-
* the provisions above, a recipient may use your version of this file under
|
33
|
-
* the terms of any one of the MPL, the GPL or the LGPL.
|
34
|
-
*
|
35
|
-
* ***** END LICENSE BLOCK ***** */
|
36
|
-
|
37
|
-
/**
|
38
|
-
Styles for old GFX form widgets
|
39
|
-
**/
|
40
|
-
|
41
|
-
|
42
|
-
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
43
|
-
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
|
44
|
-
|
45
|
-
*|*::-moz-fieldset-content {
|
46
|
-
display: block;
|
47
|
-
height: 100%; /* Need this so percentage heights of kids work right */
|
48
|
-
}
|
49
|
-
|
50
|
-
/* miscellaneous form elements */
|
51
|
-
|
52
|
-
legend {
|
53
|
-
padding-left: 2px;
|
54
|
-
padding-right: 2px;
|
55
|
-
border: none;
|
56
|
-
position: static ! important;
|
57
|
-
float: none ! important;
|
58
|
-
}
|
59
|
-
|
60
|
-
fieldset {
|
61
|
-
display: block;
|
62
|
-
margin-left: 2px;
|
63
|
-
margin-right: 2px;
|
64
|
-
padding: 0.35em 0.625em 0.75em;
|
65
|
-
border: 2px groove ThreeDFace;
|
66
|
-
}
|
67
|
-
|
68
|
-
label {
|
69
|
-
cursor: default;
|
70
|
-
}
|
71
|
-
|
72
|
-
/* default inputs, text inputs, and selects */
|
73
|
-
|
74
|
-
/* Note: Values in nsNativeTheme IsWidgetStyled function
|
75
|
-
need to match textfield background/border values here */
|
76
|
-
|
77
|
-
input {
|
78
|
-
-moz-appearance: textfield;
|
79
|
-
/* The sum of border-top, border-bottom, padding-top, padding-bottom
|
80
|
-
must be the same here, for buttons, and for <select> (including its
|
81
|
-
internal padding magic) */
|
82
|
-
padding: 1px 0 1px 0;
|
83
|
-
border: 2px inset ThreeDFace;
|
84
|
-
background-color: -moz-Field;
|
85
|
-
color: -moz-FieldText;
|
86
|
-
font: -moz-field;
|
87
|
-
line-height: normal !important;
|
88
|
-
text-align: start;
|
89
|
-
text-transform: none;
|
90
|
-
word-spacing: normal;
|
91
|
-
letter-spacing: normal;
|
92
|
-
cursor: text;
|
93
|
-
-moz-binding: url("chrome://global/content/platformHTMLBindings.xml#inputFields");
|
94
|
-
text-indent: 0;
|
95
|
-
-moz-user-select: text;
|
96
|
-
}
|
97
|
-
|
98
|
-
input > .anonymous-div {
|
99
|
-
white-space : nowrap;
|
100
|
-
}
|
101
|
-
|
102
|
-
textarea {
|
103
|
-
margin: 1px 0 1px 0;
|
104
|
-
border: 2px inset ThreeDFace;
|
105
|
-
background-color: -moz-Field;
|
106
|
-
color: -moz-FieldText;
|
107
|
-
font: medium -moz-fixed;
|
108
|
-
text-align: start;
|
109
|
-
text-transform: none;
|
110
|
-
word-spacing: normal;
|
111
|
-
letter-spacing: normal;
|
112
|
-
vertical-align: text-bottom;
|
113
|
-
cursor: text;
|
114
|
-
-moz-binding: url("chrome://global/content/platformHTMLBindings.xml#textAreas");
|
115
|
-
-moz-appearance: textfield;
|
116
|
-
text-indent: 0;
|
117
|
-
-moz-user-select: text;
|
118
|
-
}
|
119
|
-
|
120
|
-
textarea > scrollbar {
|
121
|
-
cursor: default;
|
122
|
-
}
|
123
|
-
|
124
|
-
textarea > .anonymous-div,
|
125
|
-
input > .anonymous-div {
|
126
|
-
overflow: auto;
|
127
|
-
border: 0px !important;
|
128
|
-
padding: 0px;
|
129
|
-
margin: 0px;
|
130
|
-
/* XXXldb I'm not sure if we really want the 'text-decoration: inherit',
|
131
|
-
but it's needed to make 'text-decoration' "work" on text inputs. */
|
132
|
-
text-decoration: inherit;
|
133
|
-
}
|
134
|
-
|
135
|
-
select {
|
136
|
-
margin: 0;
|
137
|
-
border-color: ThreeDFace;
|
138
|
-
background-color: -moz-Field;
|
139
|
-
color: -moz-FieldText;
|
140
|
-
font: -moz-list;
|
141
|
-
line-height: normal !important;
|
142
|
-
white-space: nowrap !important;
|
143
|
-
text-align: start;
|
144
|
-
cursor: default;
|
145
|
-
-moz-box-sizing: border-box;
|
146
|
-
-moz-user-select: none;
|
147
|
-
-moz-appearance: menulist;
|
148
|
-
border-width: 2px;
|
149
|
-
border-style: inset;
|
150
|
-
text-indent: 0;
|
151
|
-
}
|
152
|
-
|
153
|
-
/* Need the "select[size][multiple]" selector to override the settings on
|
154
|
-
'select[size="1"]', eg if one has <select size="1" multiple> */
|
155
|
-
|
156
|
-
select[size],
|
157
|
-
select[multiple],
|
158
|
-
select[size][multiple] {
|
159
|
-
/* Different alignment and padding for listbox vs combobox */
|
160
|
-
vertical-align: text-bottom;
|
161
|
-
padding: 1px 0 1px 0;
|
162
|
-
-moz-appearance: listbox;
|
163
|
-
}
|
164
|
-
|
165
|
-
select[size="0"],
|
166
|
-
select[size="1"] {
|
167
|
-
/* Except this is not a listbox */
|
168
|
-
vertical-align: baseline;
|
169
|
-
padding: 0;
|
170
|
-
-moz-appearance: menulist;
|
171
|
-
}
|
172
|
-
|
173
|
-
select > input[type="button"] {
|
174
|
-
width: 12px;
|
175
|
-
height: 12px;
|
176
|
-
white-space: nowrap;
|
177
|
-
position: static !important;
|
178
|
-
background-image: url("arrow.gif") !important;
|
179
|
-
background-repeat: no-repeat !important;
|
180
|
-
background-position: center !important;
|
181
|
-
-moz-appearance: menulist-button;
|
182
|
-
}
|
183
|
-
|
184
|
-
select > input[type="button"]:active {
|
185
|
-
background-image: url("arrowd.gif") !important;
|
186
|
-
}
|
187
|
-
|
188
|
-
select::-moz-dummy-option {
|
189
|
-
visibility: hidden;
|
190
|
-
content: "XX"; /* demo 8, edge case test 1 */
|
191
|
-
}
|
192
|
-
|
193
|
-
*|*::-moz-display-comboboxcontrol-frame {
|
194
|
-
overflow: -moz-hidden-unscrollable;
|
195
|
-
/* This top/bottom padding plus the combobox top/bottom border need to
|
196
|
-
add up to the top/bottom borderpadding of text inputs and buttons */
|
197
|
-
padding-top: 1px;
|
198
|
-
padding-bottom: 1px;
|
199
|
-
-moz-padding-start: 4px;
|
200
|
-
-moz-padding-end: 0;
|
201
|
-
background-color: inherit;
|
202
|
-
color: inherit;
|
203
|
-
white-space: nowrap;
|
204
|
-
text-align: inherit;
|
205
|
-
-moz-user-select: none;
|
206
|
-
}
|
207
|
-
|
208
|
-
option {
|
209
|
-
display: block;
|
210
|
-
min-height: 1em;
|
211
|
-
line-height: normal !important;
|
212
|
-
-moz-user-select: none;
|
213
|
-
text-indent: 0;
|
214
|
-
}
|
215
|
-
|
216
|
-
select > option {
|
217
|
-
padding-top : 0;
|
218
|
-
padding-bottom: 0;
|
219
|
-
-moz-padding-start: 3px;
|
220
|
-
-moz-padding-end: 5px;
|
221
|
-
}
|
222
|
-
|
223
|
-
option:checked {
|
224
|
-
background-color: Highlight ! important;
|
225
|
-
color: HighlightText ! important;
|
226
|
-
}
|
227
|
-
|
228
|
-
optgroup {
|
229
|
-
display: block;
|
230
|
-
font: -moz-list;
|
231
|
-
line-height: normal !important;
|
232
|
-
font-style: italic;
|
233
|
-
font-weight: bold;
|
234
|
-
font-size: inherit;
|
235
|
-
-moz-user-select: none;
|
236
|
-
text-indent: 0;
|
237
|
-
}
|
238
|
-
|
239
|
-
optgroup > option {
|
240
|
-
padding-left: 20px;
|
241
|
-
font-style: normal;
|
242
|
-
font-weight: normal;
|
243
|
-
}
|
244
|
-
|
245
|
-
optgroup:before {
|
246
|
-
display: block;
|
247
|
-
content: attr(label);
|
248
|
-
}
|
249
|
-
|
250
|
-
*|*::-moz-dropdown-list {
|
251
|
-
z-index: 2147483647;
|
252
|
-
background-color: inherit;
|
253
|
-
-moz-user-select: none;
|
254
|
-
position: static !important;
|
255
|
-
float: none !important;
|
256
|
-
|
257
|
-
border: 1px outset black !important;
|
258
|
-
}
|
259
|
-
|
260
|
-
input[disabled],
|
261
|
-
textarea[disabled],
|
262
|
-
option[disabled],
|
263
|
-
optgroup[disabled],
|
264
|
-
select[disabled] {
|
265
|
-
-moz-user-input: disabled;
|
266
|
-
-moz-user-focus: ignore;
|
267
|
-
color: GrayText;
|
268
|
-
background-color: ThreeDFace;
|
269
|
-
cursor: inherit;
|
270
|
-
}
|
271
|
-
|
272
|
-
option[disabled],
|
273
|
-
optgroup[disabled] {
|
274
|
-
background-color: transparent;
|
275
|
-
}
|
276
|
-
|
277
|
-
/* hidden inputs */
|
278
|
-
input[type="hidden"] {
|
279
|
-
-moz-appearance: none;
|
280
|
-
display: none;
|
281
|
-
padding: 0;
|
282
|
-
border: 0;
|
283
|
-
cursor: auto;
|
284
|
-
-moz-user-focus: ignore;
|
285
|
-
-moz-binding: none;
|
286
|
-
}
|
287
|
-
|
288
|
-
/* image buttons */
|
289
|
-
input[type="image"] {
|
290
|
-
-moz-appearance: none;
|
291
|
-
padding: 0;
|
292
|
-
border: none;
|
293
|
-
background-color: transparent;
|
294
|
-
font-family: sans-serif;
|
295
|
-
font-size: small;
|
296
|
-
cursor: pointer;
|
297
|
-
-moz-binding: none;
|
298
|
-
-moz-appearance: none;
|
299
|
-
}
|
300
|
-
|
301
|
-
input[type="image"][disabled] {
|
302
|
-
cursor: inherit;
|
303
|
-
}
|
304
|
-
|
305
|
-
input[type="image"]:focus {
|
306
|
-
outline: 1px dotted invert;
|
307
|
-
}
|
308
|
-
|
309
|
-
/* file selector */
|
310
|
-
input[type="file"] {
|
311
|
-
-moz-appearance: none;
|
312
|
-
white-space: nowrap;
|
313
|
-
cursor: default;
|
314
|
-
-moz-binding: none;
|
315
|
-
|
316
|
-
padding: 0 !important;
|
317
|
-
border-style: none !important;
|
318
|
-
}
|
319
|
-
|
320
|
-
input[type="file"] > input[type="text"] {
|
321
|
-
border-color: inherit;
|
322
|
-
background-color: inherit;
|
323
|
-
color: inherit;
|
324
|
-
font-size: inherit;
|
325
|
-
height: inherit;
|
326
|
-
letter-spacing: inherit;
|
327
|
-
}
|
328
|
-
|
329
|
-
/* button part of file selector */
|
330
|
-
input[type="file"] > input[type="button"] {
|
331
|
-
height: inherit;
|
332
|
-
font-size: inherit;
|
333
|
-
letter-spacing: inherit;
|
334
|
-
}
|
335
|
-
|
336
|
-
/* radio buttons */
|
337
|
-
input[type="radio"] {
|
338
|
-
-moz-appearance: radio;
|
339
|
-
width: 13px;
|
340
|
-
height: 13px;
|
341
|
-
margin: 3px 3px 0px 5px;
|
342
|
-
padding: 0 !important;
|
343
|
-
cursor: default;
|
344
|
-
-moz-binding: none;
|
345
|
-
|
346
|
-
-moz-border-radius: 100% !important;
|
347
|
-
}
|
348
|
-
|
349
|
-
/* check boxes */
|
350
|
-
input[type="checkbox"] {
|
351
|
-
-moz-appearance: checkbox;
|
352
|
-
width: 13px;
|
353
|
-
height: 13px;
|
354
|
-
margin: 3px 3px 3px 4px;
|
355
|
-
padding: 0 !important;
|
356
|
-
vertical-align: text-bottom;
|
357
|
-
cursor: default;
|
358
|
-
-moz-binding: none;
|
359
|
-
|
360
|
-
-moz-border-radius: 0 !important;
|
361
|
-
}
|
362
|
-
|
363
|
-
/* common features of radio buttons and check boxes */
|
364
|
-
|
365
|
-
input[type="radio"],
|
366
|
-
input[type="checkbox"] {
|
367
|
-
/* same colors as |input| rule, but |!important| this time. */
|
368
|
-
-moz-box-sizing: border-box;
|
369
|
-
background-color: -moz-Field ! important;
|
370
|
-
color: -moz-FieldText ! important;
|
371
|
-
border: 2px inset ThreeDFace ! important;
|
372
|
-
}
|
373
|
-
|
374
|
-
input[type="radio"][disabled],
|
375
|
-
input[type="radio"][disabled]:active,
|
376
|
-
input[type="radio"][disabled]:hover,
|
377
|
-
input[type="radio"][disabled]:hover:active,
|
378
|
-
input[type="checkbox"][disabled],
|
379
|
-
input[type="checkbox"][disabled]:active,
|
380
|
-
input[type="checkbox"][disabled]:hover,
|
381
|
-
input[type="checkbox"][disabled]:hover:active {
|
382
|
-
padding: 1px;
|
383
|
-
border: 1px inset ThreeDShadow ! important;
|
384
|
-
/* same as above, but !important */
|
385
|
-
color: GrayText ! important;
|
386
|
-
background-color: ThreeDFace ! important;
|
387
|
-
cursor: inherit;
|
388
|
-
}
|
389
|
-
|
390
|
-
input[type="checkbox"]:focus,
|
391
|
-
input[type="radio"]:focus {
|
392
|
-
border-style: groove !important;
|
393
|
-
}
|
394
|
-
|
395
|
-
input[type="checkbox"]:hover:active,
|
396
|
-
input[type="radio"]:hover:active {
|
397
|
-
background-color: ThreeDFace ! important;
|
398
|
-
border-style: inset !important;
|
399
|
-
}
|
400
|
-
|
401
|
-
*|*::-moz-radio {
|
402
|
-
width: 4px;
|
403
|
-
height: 4px;
|
404
|
-
background-color: -moz-FieldText ! important;
|
405
|
-
-moz-border-radius: 3px;
|
406
|
-
}
|
407
|
-
|
408
|
-
/* buttons */
|
409
|
-
|
410
|
-
/* Note: Values in nsNativeTheme IsWidgetStyled function
|
411
|
-
need to match button background/border values here */
|
412
|
-
|
413
|
-
button,
|
414
|
-
input[type="reset"],
|
415
|
-
input[type="button"],
|
416
|
-
input[type="submit"] {
|
417
|
-
-moz-appearance: button;
|
418
|
-
/* The sum of border-top, border-bottom, padding-top, padding-bottom
|
419
|
-
must be the same here, for text inputs, and for <select>. For
|
420
|
-
buttons, make sure to include the -moz-focus-inner border/padding. */
|
421
|
-
padding: 0px 6px 0px 6px;
|
422
|
-
border: 2px outset ButtonFace;
|
423
|
-
background-color: ButtonFace;
|
424
|
-
color: ButtonText;
|
425
|
-
font: -moz-button;
|
426
|
-
line-height: normal !important;
|
427
|
-
white-space: pre;
|
428
|
-
cursor: default;
|
429
|
-
-moz-box-sizing: border-box;
|
430
|
-
-moz-user-select: none;
|
431
|
-
-moz-binding: none;
|
432
|
-
text-align: center;
|
433
|
-
}
|
434
|
-
|
435
|
-
button {
|
436
|
-
/* Buttons should lay out like "normal" html, mostly */
|
437
|
-
white-space: normal;
|
438
|
-
text-indent: 0;
|
439
|
-
}
|
440
|
-
|
441
|
-
*|*::-moz-button-content {
|
442
|
-
display: block;
|
443
|
-
}
|
444
|
-
|
445
|
-
button:active:hover,
|
446
|
-
input[type="reset"]:active:hover,
|
447
|
-
input[type="button"]:active:hover,
|
448
|
-
input[type="submit"]:active:hover {
|
449
|
-
padding: 0px 5px 0px 7px;
|
450
|
-
border-style: inset;
|
451
|
-
}
|
452
|
-
|
453
|
-
button::-moz-focus-inner,
|
454
|
-
input[type="reset"]::-moz-focus-inner,
|
455
|
-
input[type="button"]::-moz-focus-inner,
|
456
|
-
input[type="submit"]::-moz-focus-inner,
|
457
|
-
input[type="file"] > input[type="button"]::-moz-focus-inner {
|
458
|
-
padding: 0px 2px 0px 2px;
|
459
|
-
border: 1px dotted transparent;
|
460
|
-
}
|
461
|
-
|
462
|
-
button:focus::-moz-focus-inner,
|
463
|
-
input[type="reset"]:focus::-moz-focus-inner,
|
464
|
-
input[type="button"]:focus::-moz-focus-inner,
|
465
|
-
input[type="submit"]:focus::-moz-focus-inner,
|
466
|
-
input[type="file"] > input[type="button"]:focus::-moz-focus-inner {
|
467
|
-
border-color: ButtonText;
|
468
|
-
}
|
469
|
-
|
470
|
-
button[disabled]:active, button[disabled],
|
471
|
-
input[type="reset"][disabled]:active,
|
472
|
-
input[type="reset"][disabled],
|
473
|
-
input[type="button"][disabled]:active,
|
474
|
-
input[type="button"][disabled],
|
475
|
-
select[disabled] > input[type="button"],
|
476
|
-
select[disabled] > input[type="button"]:active,
|
477
|
-
input[type="submit"][disabled]:active,
|
478
|
-
input[type="submit"][disabled] {
|
479
|
-
/* The sum of border-top, border-bottom, padding-top, padding-bottom
|
480
|
-
must be the same here and for text inputs */
|
481
|
-
padding: 1px 7px 1px 7px;
|
482
|
-
border: 1px outset ButtonShadow;
|
483
|
-
color: GrayText;
|
484
|
-
cursor: inherit;
|
485
|
-
}
|
486
|
-
|
487
|
-
/*
|
488
|
-
* Make form controls inherit 'unicode-bidi' transparently as required by
|
489
|
-
* their various anonymous descendants and pseudo-elements:
|
490
|
-
*
|
491
|
-
* <textarea> and <input type="text">:
|
492
|
-
* inherit into the XULScroll frame with class 'anonymous-div' which is a
|
493
|
-
* child of the text control.
|
494
|
-
*
|
495
|
-
* Buttons (either <button>, <input type="submit">, <input type="button">
|
496
|
-
* or <input type="reset">)
|
497
|
-
* inherit into the ':-moz-button-content' pseudo-element.
|
498
|
-
*
|
499
|
-
* <select>:
|
500
|
-
* inherit into the ':-moz-display-comboboxcontrol-frame' pseudo-element and
|
501
|
-
* the <optgroup>'s ':before' pseudo-element, which is where the label of
|
502
|
-
* the <optgroup> gets displayed. The <option>s don't use anonymous boxes,
|
503
|
-
* so they need no special rules.
|
504
|
-
*/
|
505
|
-
textarea > .anonymous-div,
|
506
|
-
input > .anonymous-div,
|
507
|
-
*|*::-moz-button-content,
|
508
|
-
*|*::-moz-display-comboboxcontrol-frame,
|
509
|
-
optgroup:before {
|
510
|
-
unicode-bidi: inherit;
|
511
|
-
}
|
512
|
-
|
513
|
-
/*
|
514
|
-
* Force the text control child of file input controls to have left-to-right
|
515
|
-
* directionality. Otherwise filenames containing right-to-left characters
|
516
|
-
* will be reordered with chaotic results.
|
517
|
-
*/
|
518
|
-
input[type="file"] > input[type="text"] {
|
519
|
-
direction: ltr !important;
|
520
|
-
text-align: inherit;
|
521
|
-
}
|
522
|
-
|
523
|
-
@media print {
|
524
|
-
input, textarea, select, button {
|
525
|
-
-moz-user-input: none !important;
|
526
|
-
}
|
527
|
-
|
528
|
-
input[type="file"] { height: 2em; }
|
529
|
-
}
|
530
|
-
|
531
|
-
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title></head><body></body></html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|