mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Every created tab should have an attribute accessrule="content". So that key access navigation can also work when focus is on a tab.
This commit is contained in:
parent
7eaa30e2e1
commit
0a20d424de
@ -330,6 +330,15 @@ function findRuleById(outnavTarget,ruleattribute) {
|
||||
**/
|
||||
function browserInit(refTab)
|
||||
{
|
||||
/*
|
||||
* addRule access navigational rule to each tab
|
||||
*/
|
||||
|
||||
refTab.setAttribute("accessrule","content");
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
var refBrowser=getBrowser().getBrowserForTab(refTab);
|
||||
try {
|
||||
refBrowser.markupDocumentViewer.textZoom = .90;
|
||||
|
Loading…
Reference in New Issue
Block a user