Dynamic style change impossible with rule with 2 ID-selectors

When an element has a CSS rule applied using 2 ID-selectors, eg.
#element1 #element2 { background-color: red; }
it is impossible to dynamically change those style-properties through javascript.

Applies at least to Opera 7.5x and latest 7.6 previews.

Test page Workaround is not included
Reported by: Tino Zijdel.

Opera | Reported on 11 January 2005.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)

1 Posted by Chris Hester on 19 January 2005 | Permalink

Fails in Opera 8.0 Beta 1 too.

2 Posted by Tino Zijdel on 9 December 2005 | Permalink

This bug is fixed in the Opera 9 preview

3 Posted by Klooody on 9 December 2005 | Permalink

I try with Opera 9 and bug still there, maybe I have wrong build?

4 Posted by David Storey on 14 October 2007 | Permalink

It is fixed now in Opera