Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron

MozReview-Commit-ID: J2SPMzh0I9C
This commit is contained in:
Markus Stange
2017-06-18 21:04:40 -04:00
parent c6e5883b85
commit 39724e9b46
13 changed files with 83 additions and 10 deletions

View File

@@ -459,6 +459,7 @@ RestyleManager::ChangeHintToString(nsChangeHint aHint)
"ReflowChangesSizeOrPosition", "UpdateComputedBSize",
"UpdateUsesOpacity", "UpdateBackgroundPosition",
"AddOrRemoveTransform", "CSSOverflowChange",
"UpdateWidgetProperties"
};
static_assert(nsChangeHint_AllHints == (1 << ArrayLength(names)) - 1,
"Name list doesn't match change hints.");
@@ -1713,6 +1714,9 @@ RestyleManager::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
presContext->PresShell()->SynthesizeMouseMove(false);
didUpdateCursor = true;
}
if (hint & nsChangeHint_UpdateWidgetProperties) {
frame->UpdateWidgetProperties();
}
}
}