{"issue":{"created_at":"2011-12-13T16:21:55Z","state":"open","updated_at":"2011-12-15T00:37:32Z","user":{"gravatar_id":"e3dcb28d8b4e208d302fdb968f3eb323","id":117198,"url":"https://api.github.com/users/delight","login":"delight","avatar_url":"https://secure.gravatar.com/avatar/e3dcb28d8b4e208d302fdb968f3eb323?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"I'm missing support for the \r\n\r\nhtml5-pseudo-classes \r\n   :invalid\r\nand \r\n   :invalid:focus\r\n\r\nIn my first suggestion they should have the some appearance as the \r\n\r\n    form .clearfix.error input, form, textarea\r\n\r\nelements.\r\n\r\nCheers,\r\n   Kosta","assignee":null,"id":2538702,"labels":[],"number":801,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"support for html5-pseudo-classes :invalid and :invalid:focus","html_url":"https://github.com/twitter/bootstrap/issues/801","closed_at":null,"url":"https://api.github.com/repos/twitter/bootstrap/issues/801","milestone":null},"action":"created","comment":{"created_at":"2011-12-15T00:37:32Z","updated_at":"2011-12-15T00:37:32Z","user":{"gravatar_id":"e3dcb28d8b4e208d302fdb968f3eb323","id":117198,"url":"https://api.github.com/users/delight","login":"delight","avatar_url":"https://secure.gravatar.com/avatar/e3dcb28d8b4e208d302fdb968f3eb323?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I wouldn't like it to be on the label and help message.\r\nI like the label to be normal and the input-field an error as long as it has an error ... e.g. for type=\"number\" as long as you have non-digits in the input-field.\r\n\r\nChanging the stile of the label to error and optional show a helper/error message, with error style should happen only for a \"deeper\" input validation (server-roundtrip/javascript) after submitting a form.\r\n\r\nI don't think the label should be marked red/error just by an html5 :invalid check.\r\n\r\nNevertheless I think it is good manner to support the user with a feedback (style the input field with the error style) for :invalid data","id":3154809,"url":"https://api.github.com/repos/twitter/bootstrap/issues/comments/3154809"}}