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

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

From: David Dailey <ddailey@zoominternet.net>
Date: Thu, 18 Apr 2013 16:37:31 -0400
To: "'Justin Novosad'" <junov@google.com>, "'WHAT Working Group'" <whatwg@whatwg.org>
Message-ID: <005301ce3c74$8d2729b0$a7757d10$@net>
You know, I'm not quite sure why we have text in canvas at all. It's not
really text you know -- it's just a bunch of pixels. You can't select it,
you can't copy it to the clipboard, it's not accessible without a bunch of
effort that authors generally don't use. It's generally illegal in most
civilized places. Why not use SVG? It's got text decoration. Text is text.
It's just that the more conspiratorial and selfish of the browser vendors
back when things were being voted on seemed to push canvas since they
already owned it and SVG seemed "hard" and like they might have to learn
something by way of graphics in their corporate portfolios.

That's how I see it, anyhow. WHATWG doesn't vote, of course.


-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces@lists.whatwg.org] On Behalf Of Justin Novosad
Sent: Thursday, April 18, 2013 3:59 PM
To: WHAT Working Group
Subject: [whatwg] 2D canvas feature proposal: text decoration

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?
Received on Thursday, 18 April 2013 20:38:07 UTC

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