W3C home > Mailing lists > Public > www-style@w3.org > December 2015

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

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 10 Dec 2015 15:52:44 +0900
Message-ID: <CALYZoVMrtxD3FDJiDDt7eizXnBG+rX5XorW48ZtMQCZK8RiX_A@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Greg Whitworth <gwhit@microsoft.com>, www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:31 UTC