Bug 1357296 - Drop warning about needing to factor out text-zoom in SMIL; r?hiro
I'm not sure exactly how this works, but test_smilTextZoom.xhtml passes so this
appears to be taken care of.
MozReview-Commit-ID: C04XjX2rtZw
--- a/dom/smil/nsSMILCSSValueType.cpp
+++ b/dom/smil/nsSMILCSSValueType.cpp
@@ -719,28 +719,16 @@ ValueFromStringHelper(nsCSSPropertyID aP
return result;
}
// Compute value
aPresContext->StyleSet()->AsServo()->GetAnimationValues(servoDeclarationBlock,
aTargetElement,
aStyleContext->AsServo(),
result);
- if (result.IsEmpty()) {
- return result;
- }
-
- if (aPropID == eCSSProperty_font_size) {
- // FIXME (bug 1357296): Divide out text-zoom, since SVG is supposed to
- // ignore it.
- if (aPresContext->EffectiveTextZoom() != 1.0) {
- NS_WARNING("stylo: Dividing out text-zoom not yet supported"
- " (bug 1357296)");
- }
- }
return result;
}
// static
void
nsSMILCSSValueType::ValueFromString(nsCSSPropertyID aPropID,
Element* aTargetElement,