Re: [css-fonts] Shape of the CSSFontFaceRule interface

Tab Atkins wrote:

> Again, every browser currently has a FontFaceRule#style property. The
> Fonts spec currently describes fiction.

Um, yes but...

In Firefox the FontFaceRule#style is read only, in Chrome it's buggy to use
and in Safari it can be used but there are still some funky edge cases. So
while it may "exist", it's definitely not in a very usable state in current
implementations.

http://people.mozilla.org/~jdaggett/tests/fontfaceruleomtest.html

> Do we intend to seriously try and shift implementations over?  If so,
> great; let's start - as the author of the spec attempting to break
> from current implementations, John, and one of the maintainers of the
> relevant code in Firefox, I'd love for you to start it.  We're happy
> to follow once there's evidence the compat pain is bearable.

Fair enough, I'll see what I can do to get this implemented, as I really
don't want weird properties showing up in style objects every time a new
@font-face descriptor is added.

https://bugzilla.mozilla.org/show_bug.cgi?id=1058408

Cheers,

John


​

Received on Thursday, 10 December 2015 06:53:12 UTC