Closed Bug 528656 Opened 10 years ago Closed 10 years ago

support "font-family" values in SVG/SMIL

Categories

(Core :: SVG, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

In order for SVG/SMIL to animate the "font" and "font-family" properties, we need nsStyleAnimation to support "font-family" values.

As with enumerated values (in bug 520486), font-family won't need Add/ComputeDistance/Interpolate implementations.  We basically just need a representation in nsStyleAnimation::Value, and code in ExtractComputedValue / UncomputeValue.

Last I checked, I think "font-family" is represented in the style system as an enumerated value plus a possible string value (to handle non-standard family names).
Depends on: 529934
Bug 529934 will actually fix this on the nsStyleAnimation side.  I'm reshaping this bug into supporting "font-family" on the SVG/SMIL side.
Assignee: nobody → dholbert
Component: Style System (CSS) → SVG
QA Contact: style-system → general
Summary: support "font-family" values in nsStyleAnimation → support "font-family" values in SVG/SMIL
Attached patch trivial fixSplinter Review
Attachment #413443 - Flags: review?(roc)
Landed: http://hg.mozilla.org/mozilla-central/rev/2eaf0843f526
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.