-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Remove default background image in Firefox for Android #214
Comments
The UA stylesheet isn't using button {
background-image: none;
} This is my test page: https://github.com/ssorallen/ssorallen.github.io/blob/master/button.html |
Did anyone open an issue against Firefox for Android? Please can you link to it in this ticket. Thanks |
I will report it at bugzilla, or someone else will do. :D 2013/7/29 Nicolas Gallagher [email protected]
Zlatan Vasović - ZDroid |
Does the HTML spec specify how elements should be styled by user agents that implement it? If it doesn't, I wouldn't consider this a bug but possibly an improvement to make Firefox on Android style its |
Apparently |
@necolas They don't want to fix that. So, can it be normalized? |
There are others background image on the problem is that the |
The css file used by firefox mobile seems to be the following one: http://hg.mozilla.org/mozilla-central/file/d2ce76654a6a/mobile/android/themes/core/content.css This one could help: http://tagliala.github.io/form-elements/ (version without bootstrap: http://tagliala.github.io/form-elements/default.html) edit: another version with normalize: http://tagliala.github.io/form-elements/normalize.html |
Any news about this one? I'm using: button,
input,
select,
textarea {
background: none;
}
input[type="file"] {
border: none;
} that also breaks the |
@tagliala I would scope the change to only button,
input,
select,
textarea {
background-image: none;
}
input[type="file"] {
border: none;
} |
@ssorallen I used alongside the gradient, there also is a white background color (overridden by bootstrap). I don't know the best practices to normalize this stuff. :) |
@tagliala Mozilla does use the shorthand |
@ssorallen thanks for the clarification |
Setting |
Is there a screenshot for the problem? On OS X it just looks like it exposes the default border style. |
@necolas It can be easily fixed. Just target mobile devices with that (with |
Not interest in doing that. I think it's the wrong solution. The Firefox team seem uninterested in changing their default styles to avoid these problems. But, from a developer perspective, I think this stuff should be fixed in classes for button-like components, input components, etc., rather than in the base styles. So basically, I don't think the Bootstrap fix was the right way to do it. It should have been done in the |
Looks like Mozilla came to their senses and are shipping a fix for this in Android Firefox 35. |
Fixed for a while according to necolas/normalize.css#214
Look at this twbs/bootstrap#8702. @ssorallen fixed that problem. Can that fix go to Normalize? 😄
The text was updated successfully, but these errors were encountered: