[Bug 12845] New: Disallow shadowing attributes

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