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

Is there a way to make holmes ignore validation on specific elements? #14

Closed renatocarvalho closed 12 years ago

renatocarvalho commented 12 years ago

Hi guys, I use hashgrid http://hashgrid.com to debug my grids while implementing the frontend. Hashgrid create empty divs to generate the overlay grid.

I added Holmes to my frontend bootstrap and it's working great, except for the fact it's affecting hashgrid. It would be great to have a way to make holmes ignore specific elements that we might need to ignore.

Anyway, I just wanted to let you guys know about this situation. If there's already a way to do that please let me know. I'll try to come up with a solution anyway.

Thanks!

redroot commented 12 years ago

There's no way currently to be specific about what you want to debug, so I suggest forking holmes and removing the selector that checks for empty divs, using your fork instead. As it is holmes is just a stylesheet that requires one class to work, so setting up specific classes you can add would be quite long-winded in CSS, probably something a future JS version might be able to sort :)

renatocarvalho commented 12 years ago

Sure! Thanks! ;)