Ticket #5541 (closed enhancement: wontfix)
hide() does not hide inputs in opera9 when [content:''] is applied to them
| Reported by: | Abro | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | effects | Version: | 1.3.2 |
| Keywords: | opera,css,hide,content,input | Cc: | |
| Blocking: | Blocked by: |
Description
Hello everyone.
Well the following is a real css-bug of Opera9. (Tested with Opera9.63/9.26, i guess it's fixed in v10 but i didn't try it.)
The Problem
When you use the css >content:''; border:1px solid #123;< on an input, then the browser inserts some empty elements and you cannot hide it anymore. If it sounds a little bit strange (why would anyone use content on form-elements?) - Some people are doing kinda extreme css-resets etc., etc.
In fact it's getting even more crazy between the versions given above. Just take look at the screenshots provided.
Conclusion
In my opinion jQuery should hide() whatever i want, no matter what my customers css looks like. I know this may cause some overhead in the jQuery source... Just tell me what you think about it.
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

