Ticket #3608 (closed bug: worksforme)
css(propname) glitch on Opera
|Reported by:||mikecapp||Owned by:||flesler|
Doc examples for the $.css(name) function suggest that both hyphenated "css-style" and camelcased "scriptStyle" property names are valid.
However, in Opera (testing v9.62 on Win2003 Server), "css-style" fails on elements that have not yet been inserted into the DOM. "scriptStyle" still works in this case, and "css-style" works once the element has been inserted, and the issue doesn't manifest on any other browser tested (FF3, IE7, Safari3, Chrome).
See attachment for demonstration; I get no "background-color" for "Clone before insertion into DOM".