--- 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;