support "font-family" values in SVG/SMIL

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
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).
(Assignee)

Updated

8 years ago
Depends on: 529934
(Assignee)

Comment 1

8 years ago
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
(Assignee)

Comment 2

8 years ago
Created attachment 413443 [details] [diff] [review]
trivial fix
Attachment #413443 - Flags: review?(roc)
Attachment #413443 - Flags: review?(roc) → review+
(Assignee)

Comment 3

8 years ago
Landed: http://hg.mozilla.org/mozilla-central/rev/2eaf0843f526
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.