[whatwg] 2D canvas feature proposal: text decoration

Justin Novosad junov at google.com
Thu Apr 18 12:58:31 PDT 2013

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?

More information about the whatwg mailing list