Bug 68102
| Summary: | getComputedStyle does not work on registered custom elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | dglazkov, dominicc |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 72352, 59803 | ||
Erik Arvidsson
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dominic Cooney
The prototype that exhibited this bug is an evolutionary dead-end, so ditching this bug.