Ticket #4950 (closed bug: fixed)
CSSStyleDeclaration is used incorrectly
|Reported by:||divide||Owned by:|
|Keywords:||konqueror, kjs, CSSStyleDeclaration, CSS, styles, getComputedStyle, animateClass||Cc:||divided.mind@…|
Currently animateClass() (and perhaps others) iterate directly over CSSStyleDeclaration returned from getComputedStyle() as if it were a hash with style values contained directly. But this convenient access mode is not codified in standards ( http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration) and thus not necessarily available in all browsers.
In particular, KJS (Konqueror), as of KDE 4.3.75, only provides standards-compliant interface to CSSStyleDeclaration, which renders animateClass() (and any and all effects depending on it) unusable.
- Component changed from ui.core to effects.core
- Milestone changed from TBD to 1.8