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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 18 Apr 2013 16:18:58 -0700
Message-ID: <CAAWBYDCuv9gxz1utnsMQ2OsYhgo+gJH6W+_=5Gko7XmJekoSKw@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Justin Novosad <junov@google.com>, WHAT Working Group <whatwg@whatwg.org>
On Thu, Apr 18, 2013 at 3:40 PM, Rik Cabanier <cabanier@gmail.com> wrote:
> I think that all enumerated DOMStrings in CanvasDrawingStyles should move
> to enums. This seems cleaner and have no compatibility issues.
> However, if we keep them as DOMStrings, I agree that textDecoration should
> be one too.

If they're trying to take on the value of CSS properties, they should
absolutely *not* be enums.  DOMStrings are the correct data type for
that.

~TJ
Received on Friday, 19 April 2013 00:31:19 UTC

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