зеркало из https://github.com/mozilla/gecko-dev.git
7dffe29d8f
Everyone calls them with the shell of the current composed document, and this allows the multi-presShell stuff to just be in UpdateCurrentStyleSources / DoGetStyleContextNoFlush. The only reason we need to use OwnerDoc()->GetShell() instead of the composed doc in GetStyleContext / GetStyleContextNoFlush is Element::GetBindingURL, which does expect to get the binding URL for stuff outside of the composed doc (and changing that gave me a useless browser). That's technically a behavior change on the cases that used to pass nullptr, but I think all callers are fine with that. I could also just add a special function for that particular case, it may be worth it. MozReview-Commit-ID: 2XlnkgdgDCK |
||
---|---|---|
.. | ||
crashtests | ||
test | ||
SMILBoolType.cpp | ||
SMILBoolType.h | ||
SMILEnumType.cpp | ||
SMILEnumType.h | ||
SMILIntegerType.cpp | ||
SMILIntegerType.h | ||
SMILStringType.cpp | ||
SMILStringType.h | ||
TimeEvent.cpp | ||
TimeEvent.h | ||
moz.build | ||
nsISMILAttr.h | ||
nsISMILType.h | ||
nsSMILAnimationController.cpp | ||
nsSMILAnimationController.h | ||
nsSMILAnimationFunction.cpp | ||
nsSMILAnimationFunction.h | ||
nsSMILCSSProperty.cpp | ||
nsSMILCSSProperty.h | ||
nsSMILCSSValueType.cpp | ||
nsSMILCSSValueType.h | ||
nsSMILCompositor.cpp | ||
nsSMILCompositor.h | ||
nsSMILCompositorTable.h | ||
nsSMILFloatType.cpp | ||
nsSMILFloatType.h | ||
nsSMILInstanceTime.cpp | ||
nsSMILInstanceTime.h | ||
nsSMILInterval.cpp | ||
nsSMILInterval.h | ||
nsSMILKeySpline.cpp | ||
nsSMILKeySpline.h | ||
nsSMILMilestone.h | ||
nsSMILNullType.cpp | ||
nsSMILNullType.h | ||
nsSMILParserUtils.cpp | ||
nsSMILParserUtils.h | ||
nsSMILRepeatCount.cpp | ||
nsSMILRepeatCount.h | ||
nsSMILSetAnimationFunction.cpp | ||
nsSMILSetAnimationFunction.h | ||
nsSMILTargetIdentifier.h | ||
nsSMILTimeContainer.cpp | ||
nsSMILTimeContainer.h | ||
nsSMILTimeValue.cpp | ||
nsSMILTimeValue.h | ||
nsSMILTimeValueSpec.cpp | ||
nsSMILTimeValueSpec.h | ||
nsSMILTimeValueSpecParams.h | ||
nsSMILTimedElement.cpp | ||
nsSMILTimedElement.h | ||
nsSMILTypes.h | ||
nsSMILValue.cpp | ||
nsSMILValue.h |