Bug 408685 - "After ARIA namespaces have been removed, correct XUL in Thunderbird" [p=marco.zehe@googlemail.com (Marco Zehe) r=aaronlev r+sr=bienvenu]

This commit is contained in:
reed%reedloden.com 2007-12-18 05:30:39 +00:00
Родитель 7230658c75
Коммит 960aaf0def
3 изменённых файлов: 4 добавлений и 6 удалений

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

@ -261,7 +261,7 @@ function awSetInputAndPopupId(inputElem, popupElem, rowNumber)
{
popupElem.id = "addressCol1#" + rowNumber;
inputElem.id = "addressCol2#" + rowNumber;
inputElem.setAttributeNS("http://www.w3.org/2005/07/aaa", "aaa:labelledby", popupElem.id);
inputElem.setAttribute("aria-labelledby", popupElem.id);
}
function awSetInputAndPopupValue(inputElem, inputValue, popupElem, popupValue, rowNumber)

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

@ -75,8 +75,7 @@
<listcell class="addressingWidgetCell">
<textbox id="addressCol2#1" class="plain textbox-addressingWidget uri-element"
xmlns:aaa="http://www.w3.org/2005/07/aaa"
aaa:labelledby="addressCol1#1"
aria-labelledby="addressCol1#1"
type="autocomplete" flex="1"
searchSessions="addrbook" timeout="300" maxrows="4"
autoFill="true" autoFillAfterMatch="true" forceComplete="true"

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

@ -42,7 +42,6 @@
<!DOCTYPE dialog SYSTEM "chrome://messenger/locale/downloadheaders.dtd">
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:aaa="http://www.w3.org/2005/07/aaa"
style="max-width: 27em;"
buttonpack="center"
ondialogaccept="return OkButtonCallback();"
@ -64,8 +63,8 @@
<radio id="some" selected="true" label="&download.label;"
accesskey="&download.accesskey;"
oncommand="setupDownloadUI(true);"
aaa:labelledby="some number headers"/>
<textbox id="number" size="7" aaa:labelledby="some number headers"/>
aria-labelledby="some number headers"/>
<textbox id="number" size="7" aria-labelledby="some number headers"/>
<label value="&headers.label;" accesskey="&headers.accesskey;"
id="headers" control="number"/>
</hbox>