зеркало из https://github.com/mozilla/gecko-dev.git
57789c06eb
Without this change, we can end up asserting in ComputeVariablesData and crashing in CSSVariableResolver::Resolve due to not finding any variable declarations on the rules we matched, when we have content like in the crashtest added here, i.e. variables inheriting into a pseudo like ::first-line and animations on the element inside the ::first-line. We could solve this alternatively by removing the assertion and making CSSVariableResolver::Resolve handle a null aDeclarations more gracefully, but since we can save the effort of recomputing the Variables struct in this case, we may as well. MozReview-Commit-ID: 6l06ZF3WGsy |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |