hidden inputs are rendered when display:block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Invalid
|
Medium
|
|||
mozilla-firefox (Ubuntu) |
Invalid
|
Undecided
|
Mozilla Bugs |
Bug Description
Binary package hint: mozilla-firefox
I'm using FF 2.0.0.5 (gutsy)
If the following is in css, hidden inputs are displayed. This should not be the case since it is against the w3c standard.
input {
display: block;
}
They become visible if padding or a border is set.
A fix would be to add "display: none !important;" to forms.css. I've tried this on my machine and results are what is expected.
I will include a diff report.
Bug was originally reported: https:/
But given their earlier response I'm not sure they'll do anything about it.
Steps to Reproduce:
1. Create a form with hidden inputs (a bunch makes them more visible)
2. Add a CSS containing: input {display: block; border: thin solid red;}
3. Make sure the border color in #2 is not the same as you background color
Changed in firefox: | |
status: | Unknown → Invalid |
Changed in firefox: | |
importance: | Unknown → Medium |
Created attachment 217291
Example of the bug in action
View this to see what this is about.