W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

[Bug 13375] New: Don't define things in terms of attributes

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jul 2011 23:19:19 +0000
To: www-dom@w3.org
Message-ID: <bug-13375-4009@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13375

           Summary: Don't define things in terms of attributes
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM Core
        AssignedTo: annevk@opera.com
        ReportedBy: ian@hixie.ch
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, www-dom@w3.org


DOMTokenList:

  If index is equal to or greater than the context object's length, then [...]

How to compare to an attribute is undefined. The attribute isn't a value, it's
an attribute. Thus, does this mean comparing it against the value of the
attribute at a particular time, or the pointer location of the attribute, or is
it a lexical comparison against the name of the attribute, or what? What
happens if the attribute is fiddled with in JS?

That's why I defined a variable and referenced that in the HTML version.

-- 
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 Tuesday, 26 July 2011 23:19:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT