[whatwg] 2D canvas feature proposal: text decoration

Tab Atkins Jr. jackalmage at gmail.com
Thu Apr 18 16:18:58 PDT 2013


On Thu, Apr 18, 2013 at 3:40 PM, Rik Cabanier <cabanier at gmail.com> wrote:
> I think that all enumerated DOMStrings in CanvasDrawingStyles should move
> to enums. This seems cleaner and have no compatibility issues.
> However, if we keep them as DOMStrings, I agree that textDecoration should
> be one too.

If they're trying to take on the value of CSS properties, they should
absolutely *not* be enums.  DOMStrings are the correct data type for
that.

~TJ



More information about the whatwg mailing list