[Webkit-unassigned] [Bug 68102] New: getComputedStyle does not work on registered custom elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 14 12:12:55 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68102

           Summary: getComputedStyle does not work on registered custom
                    elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: dominicc at chromium.org


This depends on some of the component model patches.

function Foo() {
  HTMLElement.call(this);
}
Foo.prototype = Object.create(HTMLElement.prototype);
HTMLElement.register('x-foo', Foo);

getComputedStyle(new Foo)  // null, expected CSSStyleDeclaration

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list