W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 11451] Add a string enum type

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Dec 2011 00:24:32 +0000
To: public-script-coord@w3.org
Message-Id: <E1Rd9yy-0004fj-R4@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=11451

--- Comment #26 from Cameron McCormack <cam@mcc.id.au> 2011-12-21 00:24:32 UTC ---
I don't think the two are equivalent, especially when you have more than one
attribute/operation that uses the enum.  By assigning the string to the
property corresponding to the attribute, and checking its value afterwards, you
have a much stronger idea of whether that attribute supports that value than by
seeing if the enum object has the property on it.  Now, it is likely that if
the property exists on the enum object that it is supported on at least one
attribute/operation, but it won't help you tell which.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 21 December 2011 00:24:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC