separation of style, logic, and content is virtuous- but your qualifications for "style" seems to be demanding and/or arbitrary. is hiding all unordered lists after an unchecked checkbox not a style?
additionally, styling by attribute is hardly a different than styling by class. it just so happens that this attribute is dynamic. the actual logic that's taking place here is not in the css; it is inherently handled by the browser.
While this is a clever trick, it pollutes your CSS with application logic that should be separated from your design.
- HTML for content and markup
- CSS for design and style
- JavaScript for client application logic