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

[Bug 12845] New: Disallow shadowing attributes

From: <bugzilla@jessica.w3.org>
Date: Wed, 01 Jun 2011 15:04:55 +0000
To: public-script-coord@w3.org
Message-ID: <bug-12845-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12845

           Summary: Disallow shadowing attributes
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: Ms2ger@gmail.com
         QAContact: member-webapi-cvs@w3.org
                CC: bzbarsky@mit.edu, mike@w3.org,
                    public-script-coord@w3.org


The reasoning in bug 12844 applies generally, and it seems better to disallow
them in WebIDL. One problem is the pattern

interface Foo {
  readonly attribute DOMString quux;
};
interface Bar : Foo {
  attribute DOMString quux;
};

(currently used in HTMLOptionsCollection.length). Boris suggests he'd prefer a
syntax for defining just a setter.

-- 
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 Wednesday, 1 June 2011 15:04:58 UTC

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