redroot / holmes

Holmes is stand-alone diagnostic CSS stylesheet that can highlight potentially invalid or erroneous HTML(5) markup by adding one class
http://www.red-root.com/sandbox/holmes/index.html
698 stars 28 forks source link

W3C Validation #6

Closed mgifford closed 13 years ago

mgifford commented 13 years ago

I'm in the middle of blogging about this neat tool. Decided to validate it using the W3C - http://jigsaw.w3.org/css-validator/ - it tosses out 9 errors based on: https://github.com/redroot/holmes/raw/master/holmes.css

Probably worth fixing up at some point. This is a great demonstration of the power of CSS3 though!

redroot commented 13 years ago

Good call, I'll get on this what I get back from work, cheers again.

redroot commented 13 years ago

Never mind started already. Still getting 4 error that I can't quite work out, Parse Error [empty string]. Its got me stumped, I'll love again when I get back from work, any ideas?

mgifford commented 13 years ago

The W3C validation errors often are a bit. Is there an extra comma at the end?

Elpie commented 13 years ago

The W3C Validator throws a Parse Error [empty string] error when it encounters star hacks,( i.e. *) IF you use the option of the validator scanning the file by URI. If you go to the validator and test by direct input it validates just fine. This is a validator bug.

mgifford commented 13 years ago

Ok, thanks for the explanation. I did end up blogging about it here http://openconcept.ca/blog/mgifford/adding-css-markup-detective-drupal