Bug Tracker

Modify

Ticket #5541 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

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

example-1-screen-opera963.png Download (17.2 KB) - added by Abro 3 years ago.
example-1-screen-opera926.jpg Download (94.1 KB) - added by Abro 3 years ago.
example-1.html Download (1.6 KB) - added by Abro 3 years ago.

Change History

Changed 3 years ago by Abro

Changed 3 years ago by Abro

Changed 3 years ago by Abro

comment:1 Changed 3 years ago by dmethvin

Seems to work properly in FF 3.5, IE8, and Opera 10, so I'd consider this to be an Opera9 bug.

comment:2 Changed 3 years ago by dmethvin

  • Component changed from unfilled to fx

comment:3 Changed 3 years ago by miketaylr

  • Status changed from new to closed
  • Resolution set to wontfix

Closing as this is fixed in Opera 10+. You could probably write an Opera 9.x specific patch if you really need it.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.