Skip to main content

Bug Tracker

Side navigation

#6293 closed bug (wontfix)

Opened March 15, 2010 09:11PM UTC

Closed July 12, 2011 03:29PM UTC

Last modified March 14, 2012 01:56AM UTC

Selector ":hidden" collects selects options in IE, Opera and maybe Safari.

Reported by: pyhoster Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.4.2
Keywords: hidden Cc: miketaylr
Blocked by: Blocking:
Description

It`s the same problem that was with "tr" tag - browsers (but not FF), calculates <option> size as zero (FF returns actual size of parent <select>). For my opinion "option" is not really hidden tag, so i make a little patch and attached it.

Attachments (1)
  • css.js.patch (0.5 KB) - added by pyhoster March 15, 2010 09:13PM UTC.

    Patch to fix detection <option> as ":hidden"

Change History (3)

Changed October 26, 2010 05:37PM UTC by miketaylr comment:1

cc: → miketaylr
milestone: 1.4.21.4.5
priority: → low
status: newopen

Looking at http://jsfiddle.net/8R2E8/, IE7,8,9Beta, Operas and Chromes all say that <options> are hidden. Firefox thinks they aren't.

Changed July 12, 2011 03:29PM UTC by john comment:2

resolution: → wontfix
status: openclosed

Considering that every browser but Firefox says that it's hidden - it seems like it's the other way around. That being said, I'm not really sure what you're trying to achieve with :hidden/:visible on option elements. It seems like you should probably be using :selected instead. Don't think this is something that we're going to spend a lot of cycles on.

Changed July 12, 2011 04:14PM UTC by john comment:3

#4740 is a duplicate of this ticket.