This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html Multipage: http://www.whatwg.org/C#textFieldSelection Complete: http://www.whatwg.org/c#textFieldSelection Comment: SelectionMode enum should not have a trailing comma Posted from: 81.242.195.27 by ms2ger@gmail.com User agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20130301 Firefox/22.0
... because WebIDL doesn't allow that syntax.
heycam, can we allow trailing commas on enums? It would make maintenance easier.
(In reply to comment #2) > heycam, can we allow trailing commas on enums? It would make maintenance > easier. Hi Hixie, I've open a bug to allow trailing commas in all lists in Web IDL: Bug 22156 - Allow trailing commas in Web IDL lists
For reference, an earlier bug requesting trailing commas in enum lists is: Bug 17508 - Let enum lists end with a comma
Nils, please watch out with changing components.
(In reply to comment #5) > Nils, please watch out with changing components. Oops, sorry about that! (Didn't notice I was changing anything; I'll be careful in future.)
I've allowed this now in bug 17508. I'll interpret this bug as requesting such on Web IDL and marked it a dupe. *** This bug has been marked as a duplicate of bug 17508 ***