DescriptionAvoid always style recalc when removing stylesheets.
Replaced FullStyleUpdate with AnalyzedStyleUpdate when:
- CSSStyleSheet::didMutate() is invoked from clearOwnerNode().
- StyleElement::removedFromDocument is invoked.
Modified StyleSheetCollection::analyzeStyleSheetChange when stylesheet contents are just removed:
- use Reset for StyleResolverUpdateType.
- use StyleInvalidationAnalysis for style recalc.
BUG=305885
TEST=All existing tests should pass after applying this patch.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159957
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add the virtual/* versions of add-keyframes to TestExpectations #
Messages
Total messages: 10 (0 generated)
|