Bug 89699
| Summary: | [V8] CSSStyleDeclaration properties do not have any descriptor | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | haraken |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Erik Arvidsson
var style = getComputedStyle(document.body)
style.hasOwnProperty('color') // true
var descr = Object.getOwnPropertyDescriptor(style, 'color')
shouldBe('typeof descr', '"object"")
We get an undefined descriptor which is a violation of the ES5 object model
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brian Burg
Closing some V8-related work items.