Opened 14 years ago

Last modified 14 years ago

#5538 closed enhancement

Insulation from browser specific stylesheet manipulation — at Initial Version

Reported by: ptwobrussell Owned by: alex
Priority: high Milestone: 1.2
Component: Dojox Version:
Keywords: Cc: [email protected]
Blocked By: Blocking:


I ran into an interesting use case today where I needed to dynamically create *classes* (because I was using dojo.query extensively to track/maintain state) on they fly, and there was no possible way that these could be known a priori. In doing so, I quickly learned that there wasn't a toolkit provided mechanism for insulating you from the FF vs IE way of dynamically creating classes by manipulating a particular stylesheet (insertRule vs addRule -- both with different params).

This article sort of summarizes the issue:

Unless I've missed another better way of doing this, it seems like a good addition to Base perhaps? Something like dojo.createCSSRule maybe?

Anyway, I'd be interested to hear your thoughts on this, and in case you agree, I wanted to go ahead and file it as a ticket so I could track it.

Change History (0)

Note: See TracTickets for help on using tickets.