author Chris Lord <>
Fri, 17 Feb 2012 23:44:47 +0000
changeset 92478 a4af71f1bc1f07932402b0df1f062d5a3ed3702a
parent 89650 8509ff547e28851b1ecd6a7b1546e75b4b4080c4
child 89855 2271cb92cc0558a980ff0b6c976d4b5ebb6d688a
permissions -rw-r--r--
Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom. Zooming in caused the right and bottom edges of the page to be clipped. This was because we would try to scroll to coordinates that, untransformed, would be invalid. The document has no knowledge of the zoom, and so the scroll position needs to be forced somehow. Java compositor accomplished this using a CSS translation transformation, this accomplishes it by turning off scroll position clamping (a technique that the Java compositor should also employ, if the patch this relies on passes review).