Bug 464252: fix comments
authorGavin Sharp <gavin@mozilla.com>
Tue, 11 Nov 2008 12:57:52 -0500
changeset 64950 5e68c61c435ee70462bc20118d74b43ef6324a69
parent 64949 fee2fec6f7455fe340ce83594246ce3891c1ec23
child 64951 4f4bc00f9012ad380cfed84b8177821eb2b7af25
push idunknown
push userunknown
push dateunknown
bugs464252
Bug 464252: fix comments
mobile/chrome/content/deckbrowser.xml
--- a/mobile/chrome/content/deckbrowser.xml
+++ b/mobile/chrome/content/deckbrowser.xml
@@ -835,18 +835,18 @@
                              x, y,
                              aEvent.button || 0,
                              aEvent.detail || 1,
                              0, true);
         ]]></body>
       </method>
 
       <!-- Given a set of client coordinates (relative to the app window),
-           returns the content coordinates relative to the viewport.
-      -->
+        -  returns the content coordinates relative to the viewport.
+       -->
       <method name="_clientToContentCoords">
         <parameter name="aClientX"/>
         <parameter name="aClientY"/>
         <body><![CDATA[
           // Determine position relative to the document origin
           // Need to adjust for the deckbrowser not being at 0,0
           // (e.g. due to other browser UI)
           let browserRect = this.getBoundingClientRect();
@@ -890,23 +890,23 @@
       </property>
 
       <property name="scrollY" readonly="true">
         <getter><![CDATA[
           return this.dragData.pageY - this._screenToPage(this.dragData.dragY);
          ]]></getter>
       </property>
 
-      /**
-       * Given a set of page coordinates, constrain them such that they
-       * fit within the rect defined by [0,0] and [x,y], where x and y are
-       * the maximum values that can be used for the canvas' .top and .left
-       * such that it is still within the scrollable area of the page, taking
-       * into account the current zoomLevel.
-       */
+      <!--
+        - Given a set of page coordinates, constrain them such that they
+        - fit within the rect defined by [0,0] and [x,y], where x and y are
+        - the maximum values that can be used for the canvas' .top and .left
+        - such that it is still within the scrollable area of the page, taking
+        - into account the current zoomLevel.
+       -->
       <method name="_constrainPanCoords">
         <parameter name="aX"/>
         <parameter name="aY"/>
         <body><![CDATA[
           var [contentAreaWidth, contentAreaHeight] = this._contentAreaDimensions;
           var [viewportW, viewportH] = this._effectiveViewportDimensions;
 
           var offscreenWidth = contentAreaWidth - viewportW;