W3C home > Mailing lists > Public > public-html@w3.org > April 2013

Re: Week 14/15: Staged WHATWG patches for HTML5.1

From: Eric Carlson <eric.carlson@apple.com>
Date: Thu, 18 Apr 2013 07:36:05 -0700
Cc: public-html <public-html@w3.org>
Message-id: <3AF4E73E-875E-469E-BCD5-592F19788822@apple.com>
To: Glenn Adams <glenn@skynav.com>

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" };


Received on Thursday, 18 April 2013 14:36:33 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:32 UTC