W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2009

[Bug 8035] New: HTMLAllCollection should inherit from HTMLCollection

From: <bugzilla@wiggum.w3.org>
Date: Fri, 23 Oct 2009 22:38:04 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-8035-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8035

           Summary: HTMLAllCollection should inherit from HTMLCollection
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: mjs@apple.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


In browsers that expose global interface objects, the document.all object
either is or inherits from HTMLCollection, thus allowing changes to
HTMLCollection.prototype to affect it. In HTML5, it does not inherit, so it
will not be affected by HTMLCollection.prototype changes. This seems like a
needless change in behavior. 

I think it would be better for compatibility to make HTMLAllCollection inherit
from HTMLCollection, add the tags() method, and define the differences in
operation behavior in prose.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 23 October 2009 22:38:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 23 October 2009 22:38:15 GMT