W3C home > Mailing lists > Public > www-style@w3.org > June 2014

[css-font-loading] behaviour of setting FontFace family, style, etc. attributes

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 22 Jun 2014 15:46:01 +1000
Message-ID: <53A66D99.8010409@mcc.id.au>
To: "www-style@w3.org" <www-style@w3.org>
What should happen when assigning to the family, style, etc. attributes 
of a FontFace object?  Should it be something like the FontFace 
constructor, i.e.:

   1. Set the status to "unloaded".  Run the remaining steps
   2. Parse the string as you would the corresponding @font-face
      descriptor.  If it fails to parse, reject the status promise.
      Otherwise, queue a task to set the attribute to the serialization
      of the parsed value.
   3. ...

What about when the FontFace object is connected to an @font-face rule? 
  When do you effectively set the descriptor on the rule?
Received on Sunday, 22 June 2014 05:45:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:43 UTC