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

[Bug 20407] allow attributes to have different types for their getter and setter

From: <bugzilla@jessica.w3.org>
Date: Mon, 17 Dec 2012 17:32:13 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20407-3890-aspC8Nyg3S@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20407

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #7 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #6)
> This would not be conversion, but creating new objects from the 
> data passed to setter.

I believe Anne means that a setFoo/getFoo pair, where setFoo accepts a wider
variety of things but getFoo returns a specific type, is already possible,
acceptable, and widely used.  Thus, why is it unacceptable to do the same with
an attribute?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 17 December 2012 17:32:17 UTC

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