mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
UI zoom using only the text attribute value.
This commit is contained in:
parent
d8c60e7450
commit
f248ff8dc6
@ -486,6 +486,16 @@ function BrowserResetZoomMinus() {
|
||||
getBrowser().selectedBrowser.markupDocumentViewer.textZoom-= .25;
|
||||
}
|
||||
|
||||
|
||||
/* Reset the UI text size */
|
||||
function BrowserUIResetZoomPlus() {
|
||||
document.styleSheets[1].cssRules[1].style.fontSize=parseInt(document.styleSheets[1].cssRules[1].style.fontSize)+3+"px";
|
||||
}
|
||||
|
||||
function BrowserUIResetZoomMinus() {
|
||||
document.styleSheets[1].cssRules[1].style.fontSize=parseInt(document.styleSheets[1].cssRules[1].style.fontSize)-3+"px";
|
||||
}
|
||||
|
||||
/*
|
||||
We want to intercept before it shows,
|
||||
to evaluate when the selected content area is a phone number,
|
||||
|
Loading…
Reference in New Issue
Block a user