Re: [css-font-loading] 'family' should be 'fontFamily', to prevent API fragmentation

On Mon, Aug 31, 2015 at 8:57 AM, Mike Kamermans <nihongo@gmail.com> wrote:
> I'm trying out the new font loading API, but noticed that counter to
> pre-exiting APIs, the font family property of the FontFace object is called
> "family", not "fontFamily". This should probably be changed, as it bakes
> confusion into the various APIs for working with fonts.

What "pre-existing APIs" are you referring to?  The names were chosen
to match up with the names in the CSSFontFaceRule interface
<https://drafts.csswg.org/css-fonts/#om-fontface>.

~TJ

Received on Wednesday, 2 September 2015 22:05:14 UTC