Skip to main content

Bug Tracker

Side navigation

#14387 closed bug (notabug)

Opened September 25, 2013 01:12AM UTC

Closed October 18, 2013 02:34PM UTC

option considered as a hidden element on Chrome

Reported by: olivier.piau@gmail.com 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

Attachments (0)
Change History (2)

Changed September 29, 2013 11:08PM UTC by ziogaschr@gmail.com comment:1

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. :)

Changed October 18, 2013 02:34PM UTC by timmywil comment:2

resolution: → notabug
status: newclosed

This seems to be fine with 1.x.

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