Skip to main content

Bug Tracker

Side navigation

#5541 closed enhancement (wontfix)

Opened November 21, 2009 06:17PM UTC

Closed October 26, 2010 05:54PM UTC

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:
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 (3)
Change History (3)

Changed November 22, 2009 07:01PM UTC by dmethvin comment:1

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

Changed November 22, 2009 07:01PM UTC by dmethvin comment:2

component: unfilledfx

Changed October 26, 2010 05:54PM UTC by miketaylr comment:3

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.