Opened 14 years ago
Closed 12 years ago
#4766 closed bug (wontfix)
input:hidden bug (?)
Reported by: | maxbnet | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | selector | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery("input:hidden") fails if input has these css properties (border & display)
input.inputbug {
display:block; border:1px solid #fff;
}
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Component: | unfiled → selector |
---|
Abro, both types of elements are considered to be hidden. However, this case is a bit too bizarre for my taste. Don't style hidden inputs!
There are several checks/filters for :hidden elsewhere in jQuery fx; if this is fixed it may have other impacts.
comment:3 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
That's not a bug. How could jQuery determine if you expect:
":hidden" == ":not(:visible)"
or":hidden" == "[type=hidden]"
?By definition it's the first. Just take a look at the docs. There is no such form-selector atm., sorry.