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

[Bug 12845] Disallow shadowing attributes

From: <bugzilla@jessica.w3.org>
Date: Sat, 25 Jun 2011 02:43:19 +0000
To: public-script-coord@w3.org
Message-Id: <E1QaIq7-0006LQ-PJ@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12845

--- Comment #31 from Boris Zbarsky <bzbarsky@mit.edu> 2011-06-25 02:43:19 UTC ---
> The problem here isn't that the attribute is shadowed, the problem is that the
> command API doesn't honour the <textarea disabled> state

Or maybe that a single boolean is being used to track two separate bits of
state?

That is, .disabled on textarea does not have the same semantics as the command
API .disabled...

> I'd like a way whereby I can just redefine the attribute on the subclass, e.g.
> to change it so that it is not readonly.

I agree we need a way for subclasses to add a setter to a superclass readonly
attribute, for sure.

-- 
Configure bugmail: http://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 Saturday, 25 June 2011 02:43:21 UTC

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