Bug 1086937 patch 0 - Add missing null check of root element so this patch series doesn't expose a crash in layout/style/crashtests/472237-1.html .  r=birtles  approval-mozilla-aurora=lsblakk

--HG--
extra : transplant_source : %A0%95%F2%EA%ECM%83%7C%E6G%1A%B0%40L%EA%8C%40%5CS%98
Bug 1086937 patch 1 - Add eRestyle_ChangeAnimationPhaseDescendants restyle hint that is like eRestyle_ChangeAnimationPhase, but for a whole subtree.  r=birtles  approval-mozilla-aurora=lsblakk

--HG--
extra : transplant_source : %E3%C5K%11%C8%85%AC2%B0%7DX%0A1dM%03%0C%F2%008
Bug 1086937 patch 2 - Use eRestyle_ChangeAnimationPhaseDescendants to get the right style data in RestyleManager::RebuildAllStyleData.  r=birtles  approval-mozilla-aurora=lsblakk

Until we get rid of animation phases in bug 960465, we need to ensure
we're producing style data for the correct animation phase.  This makes
this optimization slightly less beneficial until then.

--HG--
extra : transplant_source : %2A%8B1%CD%898%9F%C4%F02%99%F5%83%91%05s%C1%2C/%E2
Bug 1086937 patch 3 - Add test for animations continuing across a user font set update.  r=birtles  approval-mozilla-aurora=tests

I confirmed that without patch 2, the third and fourth tests fail
(reporting -1000px), whereas with the patches all 4 tests pass.

--HG--
extra : transplant_source : %DF%E2%AA%84%C7vp%7F%5E%08%BB%03%D0%EF%F0%60%AFC%A3%83