I decided last night that instead of trying to go through all the CSS files that comprise a Firefox theme by hand, or using utilities like diff that don’t handle cases where the contents of files are rearranged very well, I’d write a new tool designed specifically to compare the styles in two CSS themes.
I finished the utility a little while ago, and it’s working very well. I pass it two CSS files and it spits out a list of all the styles that are unique to each file, as well as a list of the styles that are common to both but have different definitions.
This is going to make the Theme changes in Firefox 2 document much easier to write. Still tedious, but not the massive task it would have been without this utility. I love handy-dandy utilities.