We have a custom application built around mozilla 1.7. In that we used
nsIStyleSheet interface to get the media list to which the stylesheet
applies. We are now trying to upgrade to mozilla 1.8 and the API(
GetMediaCount and GetMediaAt) for getting the media list are no longer
Is there an alternate interface for getting the media information for a
Also I was using nsICSSStyleSheet interface for appending a new medium and
this is not their either, is there an alternative for this API as well.