- From: John Daggett <jdaggett@mozilla.com>
- Date: Mon, 30 Jun 2014 01:44:00 -0700 (PDT)
- To: www-style@w3.org
Cameron McCormack wrote:
> For a FontFace object that is CSS-connected to this rule:
>
> @font-face {
> font-family: Test;
> src: url(x);
> }
>
> what should be returned from any of the IDL attributes that
> correspond to descriptors that weren't specified on the rule? I
> think either "" or the default value listed in the
> FontFaceDescriptors dictionary (= the initial value for the
> corresponding property). Probably the latter.
Default value. These should by definition match the default values for
the corresponding @font-face descriptors.
> (Is it possible for an @font-face rule to be in a style sheet but
> missing a font-family or src descriptor?)
No. An @font-face rule without valid font-family and src descriptors
is a syntax error.
Cheers,
John Daggett
Received on Monday, 30 June 2014 08:44:28 UTC