Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14387 closed bug (notabug)

option considered as a hidden element on Chrome

Reported by: olivier.piau@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

# TEST DESCRIPTION #

myForm => element containing 9 visible inputs and one select box with a selected option

TEST1: console.log(myForm.find("option:selected, input").not(':hidden')); TEST2: console.log( myForm("option:selected, input:visible") ); TEST3: console.log( myForm("option:selected:visible, input:visible") );

# RESULTS WITH CHROME #

Test1: 9 inputs returned ; No option returned

Test2: 9 inputs returned ; 1 option returned

Test3: 9 inputs returned ; No option returned

# RESULTS WITH FIREFOX #

Test1: 9 inputs returned ; 1 option returned

Test2: 9 inputs returned ; 1 option returned

Test3: 9 inputs returned ; 1 option returned

Change History (2)

comment:1 Changed 6 years ago by ziogaschr@…

I have reproduced the above issue in a jsFiddle so as you can check it. http://jsfiddle.net/ziogaschr/X8hz7/

I will give a try to solve it this week. :)

comment:2 Changed 6 years ago by timmywil

Resolution: notabug
Status: newclosed

This seems to be fine with 1.x.

http://jsfiddle.net/X8hz7/1/

Note: See TracTickets for help on using tickets.