W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2013

Re: [whatwg] 2D canvas feature proposal: text decoration

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 19 Apr 2013 12:18:33 -0400
Message-ID: <51716E59.6080609@mit.edu>
To: whatwg@lists.whatwg.org
On 4/19/13 9:51 AM, Justin Novosad wrote:
> That sounds OK. However, I would find it unfortunate to re-specify the
> behavior of the property in the canvas 2d context spec, when we could just
> spec it like 'font' by saying that it is interpreted the same way as the
> corresponding CSS property. I think it is a good idea to keep in sync with
> CSS whenever we can.

For something like textDecoration, the question is the desired behavior. 
  If "uNdeRlIne" should be a valid value, as it is in CSS, you don't 
want an IDL enum, because enumerating all the options would suck.

Received on Friday, 19 April 2013 16:19:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:57 UTC