On Thu, Apr 18, 2013 at 12:58 PM, Justin Novosad <[email protected]> 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.
