From f8f3e80dd61fc40b713a4616a0a79b5fa25d57f4 Mon Sep 17 00:00:00 2001 From: "jaggernaut%netscape.com" Date: Tue, 18 Sep 2001 21:47:32 +0000 Subject: [PATCH] Bug 99876: [XUL Syntax] --> , r=alecf, sr=hyatt. --- content/xbl/builtin/mac/buttons.css | 4 +- .../builtin/mac/platformButtonBindings.xml | 16 +- content/xul/content/src/nsXULElement.cpp | 2 +- .../composer/content/TextEditorAppShell.xul | 6 +- editor/ui/composer/content/editor.xul | 6 +- editor/ui/composer/content/pref-composer.xul | 2 +- editor/ui/composer/content/pref-editing.xul | 48 ++--- editor/ui/composer/content/sidebar-editor.xul | 2 +- editor/ui/dialogs/content/EdAdvancedEdit.xul | 8 +- editor/ui/dialogs/content/EdColorPicker.xul | 18 +- editor/ui/dialogs/content/EdColorProps.xul | 52 +++--- .../ui/dialogs/content/EdConvertToTable.xul | 4 +- editor/ui/dialogs/content/EdDialogOverlay.xul | 2 +- .../ui/dialogs/content/EdDialogTemplate.xul | 2 +- editor/ui/dialogs/content/EdDictionary.xul | 12 +- editor/ui/dialogs/content/EdHLineProps.xul | 8 +- editor/ui/dialogs/content/EdImageMap.xul | 6 +- .../ui/dialogs/content/EdImageMapHotSpot.xul | 2 +- editor/ui/dialogs/content/EdImageProps.xul | 42 ++--- editor/ui/dialogs/content/EdInsSrc.xul | 6 +- editor/ui/dialogs/content/EdInsertChars.xul | 4 +- editor/ui/dialogs/content/EdInsertTable.xul | 10 +- editor/ui/dialogs/content/EdLinkProps.xul | 12 +- editor/ui/dialogs/content/EdListProps.xul | 8 +- .../ui/dialogs/content/EdNamedAnchorProps.xul | 4 +- editor/ui/dialogs/content/EdPageProps.xul | 6 +- editor/ui/dialogs/content/EdSpellCheck.xul | 8 +- editor/ui/dialogs/content/EdTableProps.xul | 40 ++-- editor/ui/dialogs/content/EditConflict.xul | 14 +- .../dialogs/content/EditorSaveAsCharset.xul | 2 +- .../ui/helperAppDlg/nsHelperAppDlg.xul | 2 +- .../resources/content/pref-contentpacks.xul | 2 +- extensions/help/resources/content/help.xul | 2 +- .../content/extensions/titledSplitter.xml | 4 +- .../resources/content/utilWindow.xul | 8 +- .../content/viewers/boxModel/boxModel.xul | 2 +- .../content/viewers/boxModel/colorPicker.xul | 2 +- extensions/irc/xul/content/chatzilla.xul | 8 +- extensions/irc/xul/content/pref-irc.xul | 2 +- .../resources/content/P3PBadPrivacyInfo.xul | 4 +- .../resources/content/P3PInProgressInfo.xul | 6 +- .../resources/content/P3PNoPrivacyInfo.xul | 6 +- .../content/P3PPartialPrivacyInfo.xul | 4 +- .../resources/content/P3PPrivacyMetInfo.xul | 4 +- .../content/P3PPrivacyNotMetInfo.xul | 4 +- extensions/p3p/resources/content/pref-P3P.xul | 172 +++++++++--------- .../transformiix/resources/buster/buster.xul | 4 +- .../content/history/historyTreeBindings.xml | 16 +- .../content/vfd/editBindingsTest.xul | 8 +- .../vixen/resources/content/vfdCommands.xul | 4 +- .../vixen/resources/content/vfdScratch.xul | 2 +- extensions/wallet/editor/WalletEditor.xul | 24 +-- extensions/wallet/editor/WalletMisc.xul | 2 +- .../wallet/editor/WalletUrlspecific.xul | 1 - extensions/wallet/editor/privacy.xul | 6 +- .../editor/resources/content/WalletMisc.xul | 2 +- .../resources/content/WalletUrlspecific.xul | 1 - .../wallet/walletpreview/WalletPreview.xul | 10 +- extensions/xml-rpc/test/xml-rpc.xul | 8 +- intl/strres/tests/strres-test.xul | 12 +- layout/html/tests/table/bugs/bug12012.xul | 8 +- layout/xul/base/src/nsBoxFrame.cpp | 40 ++-- layout/xul/base/src/nsBoxToBlockAdaptor.cpp | 2 +- layout/xul/base/src/nsSplitterFrame.cpp | 83 +-------- layout/xul/base/src/nsSplitterFrame.h | 26 +-- layout/xul/base/src/nsSprocketLayout.cpp | 20 +- layout/xul/base/src/outliner/outliner.xul | 2 +- .../content/abAddressBookNameDialog.xul | 4 +- .../resources/content/abCardOverlay.xul | 56 +++--- .../resources/content/abCardViewOverlay.xul | 2 +- .../resources/content/abEditListDialog.xul | 2 +- .../resources/content/abListOverlay.xul | 10 +- .../resources/content/abMailListDialog.xul | 4 +- .../resources/content/abNewCardDialog.xul | 2 +- .../content/abSelectAddressesDialog.xul | 18 +- .../resources/content/addressbook.xul | 6 +- .../resources/content/am-imap-advanced.xul | 4 +- .../base/prefs/resources/content/am-main.xul | 4 +- .../prefs/resources/content/am-server.xul | 8 +- .../content/am-serverwithnoidentities.xul | 2 +- .../base/prefs/resources/content/am-smtp.xul | 2 +- .../prefs/resources/content/custreceipt.xul | 8 +- .../prefs/resources/content/pref-mailnews.xul | 2 +- .../resources/content/mailWindowOverlay.xul | 4 +- .../resources/content/msgHdrViewOverlay.xul | 6 +- .../resources/content/newFolderDialog.xul | 8 +- .../resources/content/renameFolderDialog.xul | 4 +- mailnews/base/resources/content/subscribe.xul | 6 +- .../search/resources/content/FilterEditor.xul | 4 +- .../resources/content/FilterListDialog.xul | 4 +- .../search/resources/content/SearchDialog.xul | 10 +- .../resources/content/MsgAttachPage.xul | 10 +- .../resources/content/askSendFormat.xul | 14 +- .../resources/content/messengercompose.xul | 4 +- .../resources/content/fieldMapExport.xul | 24 +-- .../resources/content/fieldMapImport.xul | 14 +- .../import/resources/content/importDialog.xul | 4 +- .../mime/emitters/src/nsMimeXULEmitter.cpp | 8 +- netwerk/protocol/res/src/Makefile.in | 1 - .../resources/content/no_space.xul | 6 +- .../resources/content/confirmMigration.xul | 2 +- profile/resources/content/newProfile1_1.xul | 2 +- profile/resources/content/newProfile1_2.xul | 4 +- .../resources/content/profileSelection.xul | 4 +- .../sidebar/sidebarSplitterBindings.xml | 8 +- .../sidebar/win/sidebarBindings.xml | 2 +- .../communicator/xpinstall/xpinstall.css | 12 +- themes/classic/editor/mac/EditModeTabs.css | 2 +- themes/classic/editor/win/EditModeTabs.css | 2 +- themes/classic/global/mac/button.css | 8 +- themes/classic/global/mac/buttonBindings.xml | 26 +-- themes/classic/global/mac/classicBindings.xml | 26 +-- .../classic/global/mac/menulistBindings.xml | 16 +- themes/classic/global/win/classicBindings.xml | 14 +- .../classic/global/win/menulistBindings.xml | 2 +- themes/classic/global/win/scrollbars.css | 2 +- themes/classic/global/win/tabBindings.xml | 2 +- themes/classic/global/win/tabbox.css | 16 +- themes/classic/global/win/toolbar.css | 2 +- .../addressbook/mac/selectAddressesDialog.css | 4 +- .../addressbook/win/selectAddressesDialog.css | 4 +- .../communicator/brand/brandBindings.xml | 8 +- .../communicator/dialog/dialogBindings.xml | 8 +- .../communicator/sidebar/sidebarBindings.xml | 18 +- .../communicator/toolbar/toolbarBindings.xml | 10 +- themes/modern/global/globalBindings.xml | 92 +++++----- themes/modern/global/scrollbars-mini.css | 16 +- themes/modern/global/scrollbars.css | 16 +- .../addressbook/selectAddressesDialog.css | 4 +- themes/modern/messenger/messenger.css | 2 +- .../messengercompose/messengercompose.css | 2 +- themes/modern/navigator/navigatorBindings.xml | 28 +-- .../tests/viewer/samples/scrollbarTest1.xul | 6 +- .../tests/viewer/samples/scrollbarTest2.xul | 2 +- .../tests/viewer/samples/toolbarTest1.xul | 6 +- xpfe/browser/resources/content/metadata.xul | 12 +- .../resources/content/openLocation.xul | 4 +- .../browser/resources/content/turboDialog.xul | 8 +- xpfe/browser/samples/dexopenchrome.xul | 30 +-- xpfe/browser/samples/hidetoolicon.xul | 2 +- xpfe/browser/samples/tab.xul | 30 +-- xpfe/browser/samples/widgets.xul | 10 +- xpfe/browser/samples/xpmenu.xul | 14 +- xpfe/browser/src/navigator-test1.xul | 16 +- .../resources/content/dialogBindings.xml | 6 +- .../resources/content/taskbarOverlay.xul | 8 +- .../resources/content/tasksOverlay.xul | 4 +- .../resources/content/utilityOverlay.xul | 16 +- .../bookmarks/resources/addBookmark.xul | 6 +- .../bookmarks/resources/bm-panel.xul | 2 +- .../bookmarks/resources/bm-props.xul | 8 +- .../resources/content/consoleBindings.xml | 4 +- xpfe/components/find/resources/finddialog.xul | 2 +- .../resources/content/fontScalingOverlay.xul | 2 +- .../content/pref-applications-new.xul | 4 +- .../resources/content/pref-charset.xul | 4 +- .../resources/content/pref-colors.xul | 8 +- .../resources/content/pref-download.xul | 2 +- .../resources/content/pref-fonts.xul | 8 +- .../resources/content/pref-history.xul | 4 +- .../resources/content/pref-languages.xul | 2 +- .../resources/content/pref-policies.xul | 2 +- .../resources/content/pref-proxy-manual.xul | 10 +- .../resources/content/pref-smart_browsing.xul | 4 +- .../resources/content/pref-smartupdate.xul | 6 +- .../resources/content/pref-winhooks.xul | 2 +- .../search/resources/findresults.xul | 2 +- xpfe/components/search/resources/internet.xul | 12 +- .../search/resources/search-editor.xul | 4 +- .../search/resources/search-panel.xul | 4 +- .../sidebar/resources/customize.xul | 6 +- .../sidebar/resources/sidebarBindings.xml | 6 +- .../sidebar/resources/sidebarOverlay.xul | 6 +- .../ucth/resources/helperAppDldProgress.xul | 2 +- .../ucth/resources/helperAppLauncher.xul | 2 +- .../ucth/resources/unknownContent.xul | 2 +- .../xfer/resources/downloadProgress.xul | 6 +- xpfe/global/resources/content/about.xul | 2 +- .../content/bindings/colorpicker.xml | 140 +++++++------- .../content/bindings/progressmeter.xml | 4 +- .../resources/content/bindings/scrollbar.xml | 4 +- .../content/bindings/stringbundle.xml | 2 +- .../resources/content/bindings/toolbar.xml | 2 +- .../resources/content/bindings/tree.xml | 2 +- .../resources/content/bindings/wizard.xml | 8 +- .../global/resources/content/commonDialog.xul | 2 +- .../resources/content/dialogBindings.xml | 6 +- .../content/mac/platformDialogOverlay.xul | 8 +- .../content/os2/platformDialogOverlay.xul | 12 +- .../content/unix/platformDialogOverlay.xul | 12 +- .../content/win/platformDialogOverlay.xul | 12 +- .../resources/content/wizardOverlay.xul | 8 +- xpinstall/res/content/xpistatus.xul | 12 +- 193 files changed, 974 insertions(+), 1066 deletions(-) diff --git a/content/xbl/builtin/mac/buttons.css b/content/xbl/builtin/mac/buttons.css index 4238b8a70158..fdf2dfef80a3 100644 --- a/content/xbl/builtin/mac/buttons.css +++ b/content/xbl/builtin/mac/buttons.css @@ -42,11 +42,11 @@ input[type="submit"],input[type="reset"] { -moz-user-focus : none; } -.button-top-spring { +.button-top-spacer { height : 2px; } -.button-bottom-spring { +.button-bottom-spacer { height : 3px; } diff --git a/content/xbl/builtin/mac/platformButtonBindings.xml b/content/xbl/builtin/mac/platformButtonBindings.xml index 6350568cc7ee..617adc9431ed 100644 --- a/content/xbl/builtin/mac/platformButtonBindings.xml +++ b/content/xbl/builtin/mac/platformButtonBindings.xml @@ -6,33 +6,33 @@ - + - + - + - + - + - + - + - + diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index 265a43c0046e..97e949f8e27e 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -2061,7 +2061,7 @@ nsXULElement::HandleEvent(nsIDOMEvent *aEvent) #if 0 // XXX move this over to the scriptable helper... static PRBool CanHaveBinding(nsIAtom* aTag) { - // The layout atoms (the boxes, stacks, and springs) are dodgy here. + // The layout atoms (the boxes, stacks, and spacers) are dodgy here. // Technically they could have bindings, but this will only apply // for display: none elts anyway, so we're getting into a real edge // case. diff --git a/editor/ui/composer/content/TextEditorAppShell.xul b/editor/ui/composer/content/TextEditorAppShell.xul index 395ab5595b86..fad39e8227bd 100644 --- a/editor/ui/composer/content/TextEditorAppShell.xul +++ b/editor/ui/composer/content/TextEditorAppShell.xul @@ -122,7 +122,7 @@ editor.xul has these - do we need them? - + @@ -130,10 +130,10 @@ editor.xul has these - do we need them? - + diff --git a/editor/ui/composer/content/pref-composer.xul b/editor/ui/composer/content/pref-composer.xul index 17669d6bc6d0..824b238ee0f8 100644 --- a/editor/ui/composer/content/pref-composer.xul +++ b/editor/ui/composer/content/pref-composer.xul @@ -67,7 +67,7 @@ - + - + - +