Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc
This commit is contained in:
@@ -1906,7 +1906,7 @@ nsGenericElement::InternalIsSupported(nsISupports* aObject,
|
||||
}
|
||||
#endif /* MOZ_SVG */
|
||||
#ifdef MOZ_SMIL
|
||||
else if (PL_strcasecmp(f, "TimeControl") == 0) {
|
||||
else if (NS_SMILEnabled() && PL_strcasecmp(f, "TimeControl") == 0) {
|
||||
if (aVersion.IsEmpty() || PL_strcmp(v, "1.0") == 0) {
|
||||
*aReturn = PR_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user