Bug 1369321. Make sure to restyle from all our style roots when rebuilding all style data with stylo. r=bholley

MozReview-Commit-ID: 5pghPVb2UY1

--HG--
extra : rebase_source : 8c2e5c8be9e0dc7b00ee74c9b87498c9541191ef
This commit is contained in:
Boris Zbarsky 2017-06-21 15:52:56 -04:00
parent 0362ce39d9
commit 9dedd10909
2 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,8 @@ ServoRestyleManager::PostRebuildAllStyleDataEvent(nsChangeHint aExtraHint,
{
StyleSet()->ClearDataAndMarkDeviceDirty();
if (Element* root = mPresContext->Document()->GetRootElement()) {
DocumentStyleRootIterator iter(mPresContext->Document());
while (Element* root = iter.GetNextStyleRoot()) {
PostRestyleEvent(root, aRestyleHint, aExtraHint);
}

View File

@ -9,5 +9,5 @@ fuzzy(80,1500) == border-dashed-no-radius.html masked.html
fuzzy(80,1500) == border-dashed-radius.html masked.html
fuzzy(80,1500) == border-mixed.html masked.html
fuzzy(80,1500) == border-dashed-non-integer.html masked.html
fuzzy(80,1500) fails-if(styloVsGecko) == border-dashed-radius-zoom.html masked-zoom.html
fuzzy(80,1500) == border-dashed-radius-zoom.html masked-zoom.html
fuzzy(80,1500) == border-dotted-radius-zero.html masked-small.html