Dynamic style change impossible with rule with 2 ID-selectors

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

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.

Comments

(Add your own)

Posted by Chris Hester on 19 January 2005

1

Fails in Opera 8.0 Beta 1 too.

Posted by Tino Zijdel on 9 December 2005

2

This bug is fixed in the Opera 9 preview

Posted by Klooody on 9 December 2005

3

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

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes