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

On Thu, Apr 18, 2013 at 12:37 PM, Glenn Adams <glenn@skynav.com> wrote:

>
> On Wed, Apr 17, 2013 at 8:24 PM, Silvia Pfeiffer <
> 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.
>
>
>From my POV: It makes it harder for authors to make an error in @kind,
since validators can check for valid values.

However, you might want to ask Ian directly about his motivation for this
change. The relevant bug is at
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21657

Thanks,
Silvia.

Received on Thursday, 18 April 2013 04:25:56 UTC