[Webkit-unassigned] [Bug 89697] [JSC] CSSStyleDeclaration report incorrect descriptor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 7 13:30:17 PDT 2013


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





--- Comment #3 from Manuel Rego Casasnovas <rego at igalia.com>  2013-06-07 13:28:50 PST ---
(From update of attachment 204064)
This patch changes the property descriptor.

However there's still an issue, as even when the descriptor now say "configurable: true" (like in Chrome), if you use Object.defineProperty() to change the descriptor the change is not working.

For example with the following code you don't get any message in the JavaScript console:
    Object.defineProperty(style, "color", {
        get : function(){ console.log("get color"); },
        set : function(x){ console.log("set color: " + x); },
    });

Anyway I think that we could report this as a different bug as it seems clear that current descriptor is not accurate with the behavior of CSS2Properties in CSSStyleDeclaration object.

-- 
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