- 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>
Received on Thursday, 18 April 2013 04:33:23 UTC
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. Rik 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) https://github.com/w3c/html/commit/9683aedef55f016ff5ebe44fe5c942604774c840 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