Bug 836269 In the Form Submit Observer, use fullZoom from nsIDOMWindowUtils rather than inferring zoom from CSS to device pixel ratio r=Neil.
This commit is contained in:
Родитель
4bce66c1ae
Коммит
f9ae69c62c
|
@ -177,7 +177,7 @@ const gFormSubmitObserver = {
|
|||
var style = win.getComputedStyle(element, null);
|
||||
var scale = win.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
||||
.getInterface(Components.interfaces.nsIDOMWindowUtils)
|
||||
.screenPixelsPerCSSPixel;
|
||||
.fullZoom;
|
||||
|
||||
var offset = style.direction == 'rtl' ? parseInt(style.paddingRight) +
|
||||
parseInt(style.borderRightWidth) :
|
||||
|
|
Загрузка…
Ссылка в новой задаче