tkrotoff / jquery-simplecolorpicker

Very simple jQuery color picker
http://plnkr.co/edit/VVclW0?p=preview
MIT License
386 stars 87 forks source link

Generated HTML not validated by W3C #12

Closed tkrotoff closed 11 years ago

tkrotoff commented 11 years ago
Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
<span class="simplecolorpicker inline"><div class="selected" title="Green" style="background-color: #7bd148" data-color="#7bd148" role="button" tabindex="0">&nbsp;&nbsp;&nbsp;&nbsp;</div>

(Use this bookmark to validate offline dynamically generated HTML: http://stackoverflow.com/questions/10377840/making-finding-html5-validator-bookmarklet/10420384#10420384)

tkrotoff commented 11 years ago

See commit 2923ac4e9e

simplecolorpicker is now fully HTML5 W3C compliant