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>

--- 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

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.4.0 : Friday, 17 January 2020 17:14:03 UTC