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

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

From: Rik Cabanier <cabanier@gmail.com>
Date: Thu, 18 Apr 2013 13:44:28 -0700
Message-ID: <CAGN7qDCpb3CWi0j9uibGfn4wKCpf+YfUHLfzj7kJr46Z=TuXew@mail.gmail.com>
To: Justin Novosad <junov@google.com>
Cc: WHAT Working Group <whatwg@whatwg.org>
On Thu, Apr 18, 2013 at 12:58 PM, Justin Novosad <junov@google.com> wrote:

> This is a really simple proposal to add support for text decorations in 2D
> canvas contexts.
>
> IDL to add to interface CanvasDrawingStyles:
>
> attribute DOMString textDecoration;
>
> It would support all the same modes as the 'text-decoration' CSS property
> (except inherit), and default would be 'none'.
>
> What say y'all?
>

This seems very reasonable.
I wonder if we should use a DOMString or go to something more JavaScript-y
like a JSON object or an interface with enums.
Received on Friday, 19 April 2013 01:03:15 UTC

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