-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input without type attr #31
Comments
Text is the default type for inputs, so if the type attribute is missing or if it's an unknown value browsers treat it as a text input (that's why new HTML5 inputs still work in older browsers). So, yes, you're right that that both your input examples should look the same. The current selector in base.css that styles text inputs is It would be an improvement to add the selector even without IE 8 support, except it will break all other input styles in IE 8 because browsers have to skip the whole block of styles if they don't understand every selector in a list. Too get around that the Edit: Another solution could be to give the text input styles to bare |
After a bit of deliberation, I have decided to leave the inputs as they are for now, but I have considered all the proposed solutions here. I really encourage an explicit declaration for If you have any concerns or questions hit me up at hi@getskeleton.com |
Hi,
first I would like to say thanks and congratulations for the great job with skeleton.
I am not sure if this is pertinent but if you declare this
It seems skeleton renders it differently than
I am not sure but as far as I know in html5, the
type
attribute defaults totext
when ommited, so perhaps it should render as such?Thanks.
The text was updated successfully, but these errors were encountered: