[Bug 8035] New: HTMLAllCollection should inherit from HTMLCollection

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 UTC