I've felt strongly for quite some time that we really need to better
organize and clean up the appearance of our chrome related files. To me,
the lack of consistency in indentation, naming, and placement (amongst
other things) in XUL, XBL, CSS, DTD and JS files is embarrassing.
Since I work mostly on themes I'd like to do my part by cleaning up the
CSS files (bug 65745), and getting some naming conventions going for CSS
class names, XML ids, etc... It may require some initial pain, but I
think that in the long run it will make our code much easier to read,
edit, and understand.
I've started by writing up some documents which go into detail on how
this should be accomplished. If you are involved in writing anything
chrome related you'll probably want to read them because you will be
affected by them eventually. I hope to get a lot of feedback on the
documents; if I don't, I'll assume you all agree and I'll just start
making changes!
I want to share this document with the Mozilla community for feedback,
but don't have space on mozilla.org yet so I'm hosting it on my personal
site for now, at:
http://www.joehewitt.com/mozilla/tsguide
thanks,
Joe