Certain conditions would cause MultiTileLayer to incorrectly invalidate tiles,
or to reuse tiles incorrectly, which would cause checkerboarding (sometimes
permanent until a redraw occurs).
This addresses said issues:
- Removes manual invalidation on Document:Shown and Tab:Selected. This is
unnecessary, as the entire buffer will be invalidated when this happens
anyway. Sometimes Document:Shown happens *after* drawing has occurred,
which caused the entire screen to checkerboard incorrectly.
- Fix re-using off-screen tiles with the incorrect resolution. Tiles are stored
in a hash-map based on their unscaled position. As only tiles that intersect
with the update region in tile-space are invalidated, sometimes tiles that
were off-screen, but whose unscaled tile origin appears on-screen would be
incorrectly re-used. Fix this by checking that a tile's resolution matches the
current resolution before reusing it.
When rendering with an offset for MultiTileLayer, the tile origin was moved
to compensate, but this lead to there being a mismatch between Gecko's
displayport origin and the one recorded on the Java side.
Instead of altering the origin, allow setting a render offset on MultiTileLayer
instead, so the origin remains correct.
Bug 718848 - Part 7: More link styling, pin display styling, alignment per UI feedback.
Bug 718848 - Part 6: Fixed regression of progressbar layout.
Bug 718848 - Part 5: Indentation alignment.
Bug 718848 - Part 4: Fixes for links, icon blurriness, PIN display.
Bug 718848 - Part 3: Whitespace changes.
Bug 718848 - Part 2: Setting theme on start of Sync setup.
Bug 718848 - Part 1: Theme and layout changes, per UI meeting.
Bug 717075 - make classic setup hint text visible. Added basic SyncTheme.
Bug 717691 - Part 1: fall back to supported cipher suites for older Android releases.
Bug 717691 - Part 0: Specify HTTP 1.1 in HTTP requests.
Bug 718848 - Part 2: fixed string revision: "computer" not "desktop". r=rnewman
Bug 719669 - Part 1: throw IncorrectZkpException when g^x^q % p = 1 in J-PAKE.
Bug 719669 - Part 0: code reformatting and string tidying.
Bug 718149 - go somewhere useful after Firefox Sync set up, on launch.