- From: Eric Carlson <eric.carlson@apple.com>
- Date: Thu, 18 Apr 2013 07:36:05 -0700
- To: Glenn Adams <glenn@skynav.com>
- Cc: public-html <public-html@w3.org>
Received on Thursday, 18 April 2013 14:36:33 UTC
On Apr 17, 2013, at 10:24 PM, Glenn Adams <glenn@skynav.com> wrote: > Historically speaking, there has been a trend away from using enumerated types, e.g., DOMError, to using DOMString. This change looks like it's headed in the other direction, which I find surprising. > > In general, it has been my experience that use of enums in standards APIs is harder to evolve than using string arguments. > The values are still strings: enum TextTrackMode { "disabled", "hidden", "showing" }; enum TextTrackKind { "subtitles", "captions", "descriptions", "chapters", "metadata" }; http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#texttrackkind eric
Received on Thursday, 18 April 2013 14:36:33 UTC