Diagnostic Styling Reloaded
This and many other posts are also available as a pretty, well-behaved ebook: On Web Development. And speaking of which, here’s a short treatise just about managing the quality of websites: The Little Book of Website Quality Control (updated).
Eric cultivated the concept of “diagnostic styling,” meaning using CSS to track down problems within HTML documents. I’ve been working with diagnostic style sheets for general quality assurance or to uncover specific semantics or maintainability problems mostly through bookmarklets. One of these bookmarklet style sheets is now publicly available on
Google Project Hosting GitHub:
I wrote this style sheet a couple of months ago for Google, not necessarily following specific needs but to provide an additional quality-related tool. To follow many other—though obviously much more impactful—examples of Google sharing code, I decided to make that QA style sheet public, too, on
Google Project Hosting GitHub so as to play with that as well. This should explain both hosting and licensing of this rather small project.
Some things on the QA Style Sheet’s site are still work in progress. Above all I couldn’t directly link a bookmarklet of the style sheet, which is the most useful way of working with it (that bookmarklet link is available on a separate page). There are many ways to inform me about issues though, be it on the project site or in this place. While I hope it’s not difficult to understand what the style sheet does and why, I hope to slowly extend the site’s documentation.
I’m Jens, and I’m an engineering lead and author. I’ve worked as a technical lead for companies like Google, I’m close to W3C and WHATWG, and I write and review books for O’Reilly and Frontend Dogma. I love trying things, not only in web development, but also in other areas like philosophy. Here on meiert.com I share some of my views and experiences.
If you have a question or suggestion about what I write, please leave a comment (if available) or a message. Thank you!
This is freakin’ excelent ! Thanks a lot, I’m gonna over-use it !
Useful. Thank you for sharing.
I was thinking of building something similar, but with powerful tools like Firebug doesn’t make much sense now. It will be cool to make bookmarklet for IE6 who will simulate the DIV behavior.
Maybe of interest to you, too:
- Next: My Top 15 Android Apps
- Previous: WDR #3: Optional Tags, Unquoted Attribute Value Syntax
- More under Web Development, or from 2009
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.
Get a good look at web development? Try WebGlossary.info—and The Web Development Glossary 3K (2023). With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.