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

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

From: Rik Cabanier <cabanier@adobe.com>
Date: Wed, 17 Apr 2013 21:32:55 -0700
To: "'Glenn Adams'" <glenn@skynav.com>, Silvia Pfeiffer <silviapfeiffer1@gmail.com>
CC: public-html <public-html@w3.org>
Message-ID: <83F37C1A4497B54589EAEDC750D03A941F07DD9E1F@nambx09.corp.adobe.com>
There’s trend to use enumerations now that Web IDL is getting better support.
Browsers can simply write IDL and the validation is done automatically. In the past, they had to write string compare routines which is more work and prone to bugs.

What is your issue with them? Enums can always be extended or deprecated.


From: Glenn Adams [mailto:glenn@skynav.com]
Sent: Wednesday, April 17, 2013 7:37 PM
To: Silvia Pfeiffer
Cc: public-html
Subject: Re: Week 14/15: Staged WHATWG patches for HTML5.1

On Wed, Apr 17, 2013 at 8:24 PM, Silvia Pfeiffer <silviapfeiffer1@gmail.com<mailto:silviapfeiffer1@gmail.com>> wrote:

* Introduce TextTrackKind and add more IDL support to TextTrack API. (7808)


What is the motivation for changing text track kind from a DOMString to an enumerated type? Enumerated types are much harder to evolve/maintain. This seems like a bad idea.

Received on Thursday, 18 April 2013 04:33:23 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:02 UTC