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

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.

Cheers
DD

-----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