<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello everyone,</div><div><br></div><div>While CSS quality hasn't been too big of a problem in mozilla-central, I have sometimes noticed the following problems:</div><div>* Explaining Firefox Desktop's CSS structure/practices to newcomers can be difficult</div><div>* Some CSS reviews take too many roundtrips, which is great in terms of CSS quality, but it is also cumbersome for both the patch author and the patch reviewer.</div><div>* Big CSS changes/refactorings can be difficult despite sometimes being essential for moving forward<br></div><div><br></div><div>With those 3 problems in mind, I started writing the following MDN document with:<br></div><div><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/CSS_Guidelines" target="_blank">https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/CSS_Guidelines</a> <br></div><div><br></div><div>It is based on the Developer Tools guide: <a href="https://docs.firefox-dev.tools/contributing/css.html" target="_blank">https://docs.firefox-dev.tools/contributing/css.html</a></div><div><br></div><div>I would love to hear your thoughts about those guidelines. The document is incomplete and I invite everyone to complete it with everything they know about CSS in mozilla-central :) Please feel free to correct anything you think is incorrect or inaccurate.<br></div><div><br></div><div>Hopefully this document will be helpful to make iterating over CSS easier and more efficient, while preserving the quality that exists now.<br></div><div><br></div><div>Cheers,</div><div>Tim<br></div><div><br></div><div><br></div></div></div></div>