mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backing out part of bug 599873 because it regresses bug 599220 [r=me]
This commit is contained in:
parent
021cdc958a
commit
4fb0dedf31
@ -513,10 +513,6 @@
|
|||||||
<parameter name="y"/>
|
<parameter name="y"/>
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
let position = this.getPosition();
|
|
||||||
x = Math.floor(Math.max(0, Math.min(this.contentDocumentWidth, x + position.x)));
|
|
||||||
y = Math.floor(Math.max(0, Math.min(this.contentDocumentHeight, y + position.y)));
|
|
||||||
|
|
||||||
this.contentWindow.scrollBy(x, y);
|
this.contentWindow.scrollBy(x, y);
|
||||||
]]>
|
]]>
|
||||||
</body>
|
</body>
|
||||||
@ -528,9 +524,6 @@
|
|||||||
<parameter name="y"/>
|
<parameter name="y"/>
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
x = Math.floor(Math.max(0, Math.min(this.contentDocumentWidth, x)));
|
|
||||||
y = Math.floor(Math.max(0, Math.min(this.contentDocumentHeight, y)));
|
|
||||||
|
|
||||||
this.contentWindow.scrollTo(x, y);
|
this.contentWindow.scrollTo(x, y);
|
||||||
]]>
|
]]>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user