Commit Graph
2 Commits
Author SHA1 Message Date
Chris Lord 45724a8c46 Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Chris Peterson d0804fd1e7 Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats 2012-07-27 21:57:47 -07:00