mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Bug 202338 font dropdown should be disabled unless body has focus r=brade sr=sspitzer
This commit is contained in:
parent
f5c6d0cbd2
commit
53fd18c7ca
@ -1069,8 +1069,8 @@ function initLocalFontFaceMenu(menuPopup)
|
||||
if (useRadioMenuitems) {
|
||||
itemNode.setAttribute("type", "radio");
|
||||
itemNode.setAttribute("name", "2");
|
||||
itemNode.setAttribute("observes", "cmd_renderedHTMLEnabler");
|
||||
}
|
||||
itemNode.setAttribute("observes", "cmd_renderedHTMLEnabler");
|
||||
menuPopup.appendChild(itemNode);
|
||||
}
|
||||
}
|
||||
|
@ -725,7 +725,7 @@
|
||||
tooltiptext="&anchorToolbarCmd.tooltip;"/>
|
||||
|
||||
<!-- Formatting toolbar items. "value" are HTML tagnames, don't translate -->
|
||||
<menulist class="toolbar-focustarget" id="ParagraphSelect"
|
||||
<menulist class="toolbar-focustarget" id="ParagraphSelect" observes="cmd_renderedHTMLEnabler"
|
||||
tooltiptext="&ParagraphSelect.tooltip;" crop="right">
|
||||
<observes element="cmd_paragraphState" attribute="state" onbroadcast="onParagraphFormatChange(this.parentNode, 'cmd_paragraphState')"/>
|
||||
<menupopup id="ParagraphPopup" oncommand="doStatefulCommand('cmd_paragraphState', event.target.value)">
|
||||
@ -743,7 +743,8 @@
|
||||
</menulist>
|
||||
|
||||
<!-- "value" are HTML tagnames, don't translate -->
|
||||
<menulist class="toolbar-focustarget" id="FontFaceSelect" tooltiptext="&FontFaceSelect.tooltip;" crop="right">
|
||||
<menulist class="toolbar-focustarget" id="FontFaceSelect" observes="cmd_renderedHTMLEnabler"
|
||||
tooltiptext="&FontFaceSelect.tooltip;" crop="right">
|
||||
<observes element="cmd_fontFace" attribute="state" onbroadcast="onFontFaceChange(this.parentNode, 'cmd_fontFace')"/>
|
||||
<menupopup id="FontFacePopup" oncommand="doStatefulCommand('cmd_fontFace', event.target.value)">
|
||||
<menuitem label="&fontVarWidth.label;" value=""/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user