Bug 1047928 patch 1 - Add more comments explaining eRestyle_Subtree vs. eRestyle_ForceDescendants.  r=bzbarsky
Bug 1047928 patch 2 - Pass restyle hint to RestyleManager::RebuildAllStyleData.  r=bzbarsky

This patch is not intended to contain any changes in behavior.
Bug 1047928 patch 3 - Pass restyle hint to nsPresContext::RebuildAllStyleData.  r=bzbarsky

This patch is not intended to contain any changes in behavior.

The behavior changes for these callers are in the following patch.
Bug 1047928 patch 4 - Don't rerun selector matching for charset or system color changes.  r=bzbarsky
Bug 1047928 patch 4a - Explain why we need to rerun selector matching for preference changes.  r=bzbarsky
Bug 1047928 patch 5 - Pass restyle hint to RestyleManager::PostRebuildAllStyleDataEvent.  r=bzbarsky

This patch is not intended to contain any changes in behavior.
Bug 1047928 patch 6 - Pass restyle hint to nsPresContext::PostRebuildAllStyleDataEvent.  r=bzbarsky

This patch is not intended to contain any changes in behavior.

The behavior changes for these callers are in the following 2 patches.
Bug 1047928 patch 7 - Don't rerun selector matching when user font set is updated.  r=bzbarsky
Bug 1047928 patch 8 - Don't rerun selector matching when @counter-style rules change.  r=bzbarsky
Bug 1047928 patch 9 - Don't rerun selector matching for viewport units.  r=bzbarsky
Bug 1047928 patch 10 - Pass restyle hint to nsPresContext::MediaFeatureValuesChanged.  r=bzbarsky

This patch is not intended to contain any changes in behavior.

The behavior changes in these callers are in the following 4 patches.
Bug 1047928 patch 11 - Fix indentation.  r=bzbarsky
Bug 1047928 patch 12 - Optimize nsDocShell::SetDeviceSizeIsPageSize better, since changing results of media queries should not require forcing restyling if media queries don't change.  r=bzbarsky
Bug 1047928 patch 13 - Don't rerun selector matching for changes to zoom, min font size, or app units per dev pixel.  r=bzbarsky
Bug 1047928 patch 14 - Explain why changes to theme require rerunning selector matching.  r=bzbarsky