- From: <bugzilla@jessica.w3.org>
- Date: Tue, 13 Nov 2012 19:08:14 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19936
Tab Atkins Jr. <jackalmage@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jackalmage@gmail.com
--- Comment #3 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #2)
> It seems very awkward to me to express the default as part of the enum type.
>
> How common is this pattern? What's the value of using an enum rather than a
> DOMString here?
It's common in a lot of enumerated attributes in the DOM, such as <input type>.
The benefit of using an enum over a DOMString+explanatory text is the same
benefit of using an enum at all - it's simpler to read and write, and ensures
that we'll get consistent behavior.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 13 November 2012 19:08:17 UTC