From 45e1b492a3a6d9bff3eedf65cacd1c20879d8cc2 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Thu, 10 Dec 2009 09:26:27 -0800 Subject: [PATCH] Bug 528656: Support "font-family" property in SVG/SMIL. r=roc --- content/smil/nsSMILCSSProperty.cpp | 2 +- content/smil/test/db_smilCSSFromTo.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/smil/nsSMILCSSProperty.cpp b/content/smil/nsSMILCSSProperty.cpp index 327d4d35a51..ec8517ebae9 100644 --- a/content/smil/nsSMILCSSProperty.cpp +++ b/content/smil/nsSMILCSSProperty.cpp @@ -241,7 +241,7 @@ nsSMILCSSProperty::IsPropertyAnimatable(nsCSSProperty aPropID) // case eCSSProperty_filter: case eCSSProperty_flood_color: case eCSSProperty_flood_opacity: - // case eCSSProperty_font_family: + case eCSSProperty_font_family: case eCSSProperty_font_size: case eCSSProperty_font_size_adjust: case eCSSProperty_font_stretch: diff --git a/content/smil/test/db_smilCSSFromTo.js b/content/smil/test/db_smilCSSFromTo.js index b44a7da7769..001fb1b7819 100644 --- a/content/smil/test/db_smilCSSFromTo.js +++ b/content/smil/test/db_smilCSSFromTo.js @@ -255,7 +255,7 @@ var gFromToBundles = [ new TestcaseBundle(gPropList.font_family, [ new AnimTestcaseFromTo("serif", "sans-serif"), new AnimTestcaseFromTo("cursive", "monospace"), - ], "need support for all properties that get stored in nsFont"), + ]), new TestcaseBundle(gPropList.font_size, [].concat(_fromToTestLists.lengthPx, [ new AnimTestcaseFromTo("10px", "40%", { midComp: "15px", toComp: "20px" }),