bug 397644. Don't process xhtml2:role, r=mano, r=philringnalda, r=surkov, sr=neil, a=dsicore

This commit is contained in:
aaronleventhal%moonset.net 2007-10-02 00:57:25 +00:00
Родитель 56a7cc7e82
Коммит 9f76986675
15 изменённых файлов: 84 добавлений и 107 удалений

Просмотреть файл

@ -856,9 +856,7 @@ nsAccessNode::GetARIARole(nsIContent *aContent, nsString& aRole)
} }
} }
// In non-HTML content, use XHTML namespaced-role attribute // In non-HTML content, use XHTML namespaced-role attribute
// XXX We still support XHTML2 for now because of XUL content, but will migrate to XHTML after FF3 else if (!aContent->GetAttr(kNameSpaceID_XHTML, nsAccessibilityAtoms::role, aRole)) {
else if (!aContent->GetAttr(kNameSpaceID_XHTML, nsAccessibilityAtoms::role, aRole) &&
!aContent->GetAttr(kNameSpaceID_XHTML2_Unofficial, nsAccessibilityAtoms::role, aRole)) {
return PR_FALSE; return PR_FALSE;
} }

Просмотреть файл

@ -48,8 +48,7 @@
style="width: 40em;" style="width: 40em;"
buttons="accept,cancel" buttons="accept,cancel"
branded="true" branded="true"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml">
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#">
<script type="application/x-javascript" src="chrome://browser/content/migration/migration.js"/> <script type="application/x-javascript" src="chrome://browser/content/migration/migration.js"/>
@ -133,7 +132,7 @@
<description control="dataSources">&importItems.label;</description> <description control="dataSources">&importItems.label;</description>
<vbox id="dataSources" style="overflow: auto; -moz-appearance: listbox" align="left" flex="1" <vbox id="dataSources" style="overflow: auto; -moz-appearance: listbox" align="left" flex="1"
xhtml2:role="wairole:groupbox"/> xhtml:role="group"/>
</wizardpage> </wizardpage>
<wizardpage id="homePageImport" pageid="homePageImport" <wizardpage id="homePageImport" pageid="homePageImport"
@ -153,16 +152,14 @@
onpageshow="MigrationWizard.onMigratingPageShow();"> onpageshow="MigrationWizard.onMigratingPageShow();">
<description control="migratingItems">&migrating.label;</description> <description control="migratingItems">&migrating.label;</description>
<vbox id="migratingItems" style="overflow: auto;" align="left" <vbox id="migratingItems" style="overflow: auto;" align="left" xhtml:role="group"/>
xhtml2:role="wairole:groupbox"/>
</wizardpage> </wizardpage>
<wizardpage id="done" pageid="done" label="&done.title;" <wizardpage id="done" pageid="done" label="&done.title;"
onpageshow="MigrationWizard.onDonePageShow();"> onpageshow="MigrationWizard.onDonePageShow();">
<description control="doneItems">&done.label;</description> <description control="doneItems">&done.label;</description>
<vbox id="doneItems" style="overflow: auto;" align="left" <vbox id="doneItems" style="overflow: auto;" align="left" xhtml:role="group"/>
xhtml2:role="wairole:groupbox"/>
</wizardpage> </wizardpage>
</wizard> </wizard>

Просмотреть файл

@ -53,8 +53,7 @@
<prefpane id="paneAdvanced" onpaneload="gAdvancedPane.init();" <prefpane id="paneAdvanced" onpaneload="gAdvancedPane.init();"
helpURI="chrome://browser/locale/help/help.rdf" helpURI="chrome://browser/locale/help/help.rdf"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xmlns:aaa="http://www.w3.org/2005/07/aaa"> xmlns:aaa="http://www.w3.org/2005/07/aaa">
<preferences id="advancedPreferences"> <preferences id="advancedPreferences">
@ -223,7 +222,7 @@
<!-- Update --> <!-- Update -->
<tabpanel id="updatePanel" orient="vertical" align="start"> <tabpanel id="updatePanel" orient="vertical" align="start">
<label control="autoUpdateGroup">&autoCheck.label;</label> <label control="autoUpdateGroup">&autoCheck.label;</label>
<vbox class="indent" id="autoUpdateGroup" xhtml2:role="wairole:groupbox"> <vbox class="indent" id="autoUpdateGroup" xhtml:role="group">
<checkbox id="enableAppUpdate" <checkbox id="enableAppUpdate"
label="&enableAppUpdate.label;" label="&enableAppUpdate.label;"
accesskey="&enableAppUpdate.accesskey;" accesskey="&enableAppUpdate.accesskey;"

Просмотреть файл

@ -34,9 +34,8 @@
<vbox id="safebrowsing-palm-message-content" <vbox id="safebrowsing-palm-message-content"
class="safebrowsing-palm-fixed-width" class="safebrowsing-palm-fixed-width"
style="-moz-user-focus: normal" style="-moz-user-focus: normal"
xmlns:x2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xhtml:role="alert">
x2:role="wairole:alert">
<hbox id="safebrowsing-palm-close-container" align="center" <hbox id="safebrowsing-palm-close-container" align="center"
class="safebrowsing-palm-fixed-width"> class="safebrowsing-palm-fixed-width">

Просмотреть файл

@ -44,9 +44,8 @@
<window id="newMailAlertNotification" <window id="newMailAlertNotification"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="alert:alert" windowtype="alert:alert"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xhtml:role="alert"
xhtml2:role="wairole:alert"
align="start" align="start"
onload="onAlertLoad()"> onload="onAlertLoad()">

Просмотреть файл

@ -48,9 +48,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane id="paneAdvanced" onpaneload="gAdvancedPane.init();" <prefpane id="paneAdvanced" onpaneload="gAdvancedPane.init();"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml">
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xmlns:aaa="http://www.w3.org/2005/07/aaa">
<script type="application/x-javascript" src="chrome://messenger/content/preferences/advanced.js"/> <script type="application/x-javascript" src="chrome://messenger/content/preferences/advanced.js"/>
<preferences> <preferences>
@ -198,18 +196,16 @@
<!-- Update --> <!-- Update -->
<tabpanel orient="vertical" align="start"> <tabpanel orient="vertical" align="start">
<label>&autoCheck.label;</label> <label control="autoUpdateGroup">&autoCheck.label;</label>
<vbox class="indent"> <vbox class="indent" id="autoUpdateGroup" xhtml:role="group">
<checkbox id="enableAppUpdate" <checkbox id="enableAppUpdate"
label="&enableAppUpdate.label;" label="&enableAppUpdate.label;"
accesskey="&enableAppUpdate.accesskey;" accesskey="&enableAppUpdate.accesskey;"
preference="app.update.enabled" preference="app.update.enabled"/>
xhtml2:role="wairole:checkbox" aaa:describedby="updateInfo"/>
<checkbox id="enableAddonUpdate" <checkbox id="enableAddonUpdate"
label="&enableAddonsUpdate.label;" label="&enableAddonsUpdate.label;"
accesskey="&enableAddonsUpdate.accesskey;" accesskey="&enableAddonsUpdate.accesskey;"
preference="extensions.update.enabled" preference="extensions.update.enabled"/>
xhtml2:role="wairole:checkbox" aaa:describedby="updateInfo"/>
</vbox> </vbox>
<separator/> <separator/>
<label id="updateModeLabel">&whenUpdatesFound.label;</label> <label id="updateModeLabel">&whenUpdatesFound.label;</label>

Просмотреть файл

@ -48,8 +48,6 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="gChangeActionDialog.init();" onload="gChangeActionDialog.init();"
ondialogaccept="return gChangeActionDialog.onAccept();" ondialogaccept="return gChangeActionDialog.onAccept();"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xmlns:aaa="http://www.w3.org/2005/07/aaa" xmlns:aaa="http://www.w3.org/2005/07/aaa"
style="width: &window.width;;" style="width: &window.width;;"
persist="screenX screenY"> persist="screenX screenY">
@ -69,7 +67,7 @@
<vbox id="changeActionContent" flex="1"> <vbox id="changeActionContent" flex="1">
<label control="handlerGroup">&whenDownloading.label;</label> <label control="handlerGroup">&whenDownloading.label;</label>
<radiogroup id="handlerGroup" onselect="gChangeActionDialog.doEnabling(this.selectedItem);" <radiogroup id="handlerGroup" onselect="gChangeActionDialog.doEnabling(this.selectedItem);"
flex="1" xhtml2:role="wairole:radiogroup" aaa:describedby="changeActionHeader"> flex="1" aaa:describedby="changeActionHeader">
<separator class="thin"/> <separator class="thin"/>
<radio id="openDefault" value="system" <radio id="openDefault" value="system"
label="&openDefault.label;" accesskey="&openDefault.accesskey;"/> label="&openDefault.label;" accesskey="&openDefault.accesskey;"/>

Просмотреть файл

@ -89,9 +89,8 @@
<content dlgbuttons="accept,cancel" persist="lastSelected screenX screenY" <content dlgbuttons="accept,cancel" persist="lastSelected screenX screenY"
closebuttonlabel="&preferencesCloseButton.label;" closebuttonlabel="&preferencesCloseButton.label;"
closebuttonaccesskey="&preferencesCloseButton.accesskey;" closebuttonaccesskey="&preferencesCloseButton.accesskey;"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xhtml:role="dialog"
xhtml2:role="wairole:dialog"
#ifdef XP_WIN #ifdef XP_WIN
title="&preferencesDefaultTitleWin.title;" title="&preferencesDefaultTitleWin.title;"
#else #else
@ -99,7 +98,7 @@
#endif #endif
> >
<xul:radiogroup anonid="selector" orient="horizontal" class="paneSelector chromeclass-toolbar" <xul:radiogroup anonid="selector" orient="horizontal" class="paneSelector chromeclass-toolbar"
xhtml2:role="wairole:list"/> <!-- Expose to accessibility APIs as a list --> xhtml:role="listbox"/> <!-- Expose to accessibility APIs as a listbox -->
<xul:hbox flex="1" class="paneDeckContainer"> <xul:hbox flex="1" class="paneDeckContainer">
<xul:vbox anonid="navTrees"> <xul:vbox anonid="navTrees">
<children includes="tree"/> <children includes="tree"/>

Просмотреть файл

@ -47,8 +47,7 @@
onunload="MigrationWizard.uninit()" onunload="MigrationWizard.uninit()"
style="width: 40em; height: 32em;" style="width: 40em; height: 32em;"
buttons="accept,cancel" buttons="accept,cancel"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml">
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#">
<script type="application/x-javascript" <script type="application/x-javascript"
src="chrome://communicator/content/migration/migration.js"/> src="chrome://communicator/content/migration/migration.js"/>
@ -95,7 +94,7 @@
<description control="dataSources">&importItems.label;</description> <description control="dataSources">&importItems.label;</description>
<vbox id="dataSources" style="overflow-y: auto;" <vbox id="dataSources" style="overflow-y: auto;"
align="left" flex="1" xhtml2:role="wairole:groupbox"/> align="left" flex="1" xhtml:role="group"/>
</wizardpage> </wizardpage>
<wizardpage id="homePageImport" pageid="homePageImport" <wizardpage id="homePageImport" pageid="homePageImport"
@ -115,7 +114,7 @@
<description control="migratingItems">&migrating.label;</description> <description control="migratingItems">&migrating.label;</description>
<vbox id="migratingItems" style="overflow-y: auto;" align="left" <vbox id="migratingItems" style="overflow-y: auto;" align="left"
xhtml2:role="wairole:groupbox"/> xhtml:role="group"/>
<hbox> <hbox>
<progressmeter class="progressmeter-statusbar" id="progressBar" <progressmeter class="progressmeter-statusbar" id="progressBar"
@ -128,6 +127,6 @@
<description control="doneItems">&done.label;</description> <description control="doneItems">&done.label;</description>
<vbox id="doneItems" style="overflow-y: auto;" align="left" <vbox id="doneItems" style="overflow-y: auto;" align="left"
xhtml2:role="wairole:groupbox"/> xhtml:role="group"/>
</wizardpage> </wizardpage>
</wizard> </wizard>

Просмотреть файл

@ -41,9 +41,8 @@
<window id="alertNotification" <window id="alertNotification"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="alert:alert" windowtype="alert:alert"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xhtml:role="alert"
xhtml2:role="wairole:alert"
pack="start" pack="start"
onload="onAlertLoad()"> onload="onAlertLoad()">

Просмотреть файл

@ -6,9 +6,8 @@
<dialog id="commonDialog" <dialog id="commonDialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xhtml:role="alert"
xhtml2:role="wairole:alert"
onload="commonDialogOnLoad();" onload="commonDialogOnLoad();"
ondialogaccept="return commonDialogOnAccept();" ondialogaccept="return commonDialogOnAccept();"
ondialogextra1="return commonDialogOnExtra1();" ondialogextra1="return commonDialogOnExtra1();"

Просмотреть файл

@ -848,7 +848,6 @@
<content> <content>
<vbox class="datepicker-mainbox" <vbox class="datepicker-mainbox"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<hbox class="datepicker-monthbox" align="center"> <hbox class="datepicker-monthbox" align="center">
<button class="datepicker-previous datepicker-button" type="repeat" <button class="datepicker-previous datepicker-button" type="repeat"
@ -875,7 +874,7 @@
chromedir="&locale.dir;" xbl:inherits="disabled" chromedir="&locale.dir;" xbl:inherits="disabled"
oncommand="document.getBindingParent(this)._increaseOrDecreaseMonth(1);"/> oncommand="document.getBindingParent(this)._increaseOrDecreaseMonth(1);"/>
</hbox> </hbox>
<grid class="datepicker-grid" html:role="wairole:grid"> <grid class="datepicker-grid" html:role="grid">
<columns> <columns>
<column class="datepicker-gridrow" flex="1"/> <column class="datepicker-gridrow" flex="1"/>
<column class="datepicker-gridrow" flex="1"/> <column class="datepicker-gridrow" flex="1"/>
@ -887,67 +886,67 @@
</columns> </columns>
<rows anonid="datebox"> <rows anonid="datebox">
<row anonid="dayofweekbox"> <row anonid="dayofweekbox">
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
<label class="datepicker-weeklabel" html:role="wairole:columnheader"/> <label class="datepicker-weeklabel" html:role="columnheader"/>
</row> </row>
<row> <row>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
</row> </row>
<row> <row>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
</row> </row>
<row> <row>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
</row> </row>
<row> <row>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
</row> </row>
<row> <row>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
</row> </row>
<row> <row>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
<label class="datepicker-gridlabel" html:role="wairole:gridcell"/> <label class="datepicker-gridlabel" html:role="gridcell"/>
</row> </row>
</rows> </rows>
</grid> </grid>

Просмотреть файл

@ -508,16 +508,15 @@
<content dlgbuttons="accept,cancel" persist="lastSelected screenX screenY" <content dlgbuttons="accept,cancel" persist="lastSelected screenX screenY"
closebuttonlabel="&preferencesCloseButton.label;" closebuttonlabel="&preferencesCloseButton.label;"
closebuttonaccesskey="&preferencesCloseButton.accesskey;" closebuttonaccesskey="&preferencesCloseButton.accesskey;"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xhtml:role="dialog"
xhtml2:role="wairole:dialog"
#ifdef XP_WIN #ifdef XP_WIN
title="&preferencesDefaultTitleWin.title;"> title="&preferencesDefaultTitleWin.title;">
#else #else
title="&preferencesDefaultTitleMac.title;"> title="&preferencesDefaultTitleMac.title;">
#endif #endif
<xul:radiogroup anonid="selector" orient="horizontal" class="paneSelector chromeclass-toolbar" <xul:radiogroup anonid="selector" orient="horizontal" class="paneSelector chromeclass-toolbar"
xhtml2:role="wairole:list"/> <!-- Expose to accessibility APIs as a list --> xhtml:role="listbox"/> <!-- Expose to accessibility APIs as a listbox -->
<xul:hbox flex="1" class="paneDeckContainer"> <xul:hbox flex="1" class="paneDeckContainer">
<xul:deck anonid="paneDeck" flex="1"> <xul:deck anonid="paneDeck" flex="1">
<children includes="prefpane"/> <children includes="prefpane"/>

Просмотреть файл

@ -52,8 +52,7 @@
<window xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <window xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
id="extensionsManager" windowtype="Extension:Manager" id="extensionsManager" windowtype="Extension:Manager"
orient="vertical" title="&addons.title;" orient="vertical" title="&addons.title;"
screenX="10" screenY="10" width="&em.width;" height="&em.height;" screenX="10" screenY="10" width="&em.width;" height="&em.height;"
@ -152,7 +151,7 @@
<popup id="addonContextMenu" onpopupshowing="return buildContextMenu(event);"/> <popup id="addonContextMenu" onpopupshowing="return buildContextMenu(event);"/>
<stack id="topStackBar"> <stack id="topStackBar">
<radiogroup id="viewGroup" xhtml2:role="wairole:list" persist="last-selected" <radiogroup id="viewGroup" xhtml:role="listbox" persist="last-selected"
class="viewSelector chromeclass-toolbar" orient="horizontal"> class="viewSelector chromeclass-toolbar" orient="horizontal">
<radio id="extensions-view" label="&extensions.label;" oncommand="showView('extensions');" persist="last-selected"/> <radio id="extensions-view" label="&extensions.label;" oncommand="showView('extensions');" persist="last-selected"/>
<radio id="themes-view" label="&themes.label;" oncommand="showView('themes');" persist="last-selected"/> <radio id="themes-view" label="&themes.label;" oncommand="showView('themes');" persist="last-selected"/>

Просмотреть файл

@ -14,8 +14,6 @@
style="width: 35em;" style="width: 35em;"
ondialogaccept="gRemovePasswordDialog.removePassword();" ondialogaccept="gRemovePasswordDialog.removePassword();"
onload="gRemovePasswordDialog.init()" onload="gRemovePasswordDialog.init()"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xmlns:aaa="http://www.w3.org/2005/07/aaa"> xmlns:aaa="http://www.w3.org/2005/07/aaa">
<script type="application/javascript" src="chrome://mozapps/content/preferences/removemp.js"/> <script type="application/javascript" src="chrome://mozapps/content/preferences/removemp.js"/>
@ -36,7 +34,7 @@
<label control="password" value="&setPassword.oldPassword.label;"/> <label control="password" value="&setPassword.oldPassword.label;"/>
<textbox id="password" type="password" <textbox id="password" type="password"
oninput="gRemovePasswordDialog.validateInput();" oninput="gRemovePasswordDialog.validateInput();"
xhtml2:role="textfield" aaa:describedby="warnings"/> aaa:describedby="warnings"/>
</hbox> </hbox>
</groupbox> </groupbox>