Bug 1038635 - Zoom doesn't work in the email composer. r=Neil, a=sledru
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Fri, 18 Jul 2014 13:02:14 +0300
changeset 209251 f9b0de65c69d53a6369f11aadd8d27b9276d5d49
parent 209250 fe0621be0dc301bbc562c9bc19bc75e5e7d99e7a
child 209252 2339e39f5ff42763042d9edc484fce32df053506
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, sledru
bugs1038635
milestone32.0
Bug 1038635 - Zoom doesn't work in the email composer. r=Neil, a=sledru
toolkit/content/widgets/editor.xml
--- a/toolkit/content/widgets/editor.xml
+++ b/toolkit/content/widgets/editor.xml
@@ -150,13 +150,22 @@
                 readonly="true"
                 onget="return this.docShell.contentViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);"/>
       <property name="editingSession"
                 readonly="true"
                 onget="return this.webNavigation.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIEditingSession);"/>
       <property name="commandManager"
                 readonly="true"
                 onget="return this.webNavigation.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsICommandManager);"/>
+      <property name="fullZoom"
+                onget="return this.markupDocumentViewer.fullZoom;"
+                onset="this.markupDocumentViewer.fullZoom = val;"/>
+      <property name="textZoom"
+                onget="return this.markupDocumentViewer.textZoom;"
+                onset="this.markupDocumentViewer.textZoom = val;"/>
+      <property name="isSyntheticDocument"
+                onget="return this.contentDocument.isSyntheticDocument;"
+                readonly="true"/>
     </implementation>
   </binding>
 
 </bindings>