[Bug 22920] New: [Custom]: Custom element constructors should have class side inheritance

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22920

            Bug ID: 22920
           Summary: [Custom]: Custom element constructors should have
                    class side inheritance
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: arv@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14968

Classes in ES6 have class side inheritance.

DOM in Firefox and WebKit also have class side inheritance.

Custom element constructor does not yet have class side inheritance.

class B extends HTMLElement {}
B = document.register('x-b', B);
assert(B.__proto__ === HTMLElement);

class C extends B {}
C = document.register('x-c', C);
assert(C.__proto__ === B);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 12 August 2013 13:55:24 UTC