Bug Tracker

Opened 14 years ago

Closed 13 years ago

#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:
Blocked by: Blocking:


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.


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 (3)

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

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Abro

Changed 14 years ago by Abro

Changed 14 years ago by Abro

Attachment: example-1.html added

comment:1 Changed 14 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 14 years ago by dmethvin

Component: unfilledfx

comment:3 Changed 13 years ago by miketaylr

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.