Skip to main content

Bug Tracker

Side navigation

#2910 closed bug (invalid)

Opened May 21, 2008 09:40AM UTC

Closed January 15, 2009 02:19AM UTC

:visible not working on safari

Reported by: balliano Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

this is a 1.2.5 bug

i've a <div class="someclass"></div>

where .someclass is {

display: none;

}

and the jquery code

$(".someclass:visible").dosomething()

it's not working on safari 3.1 windows

Attachments (0)
Change History (4)

Changed May 21, 2008 01:23PM UTC by balliano comment:1

the demo here:

http://docs.jquery.com/Selectors/visible

is working on safari, thus i'm thinking if the problem is concerning the fact that my css is an external file...

maybe the dom is considered ready before loading css?

Changed May 21, 2008 01:36PM UTC by balliano comment:2

yes, adding inline style="display:none" is a workaround but it's not the best...

Changed May 21, 2008 03:22PM UTC by balliano comment:3

it seems that both are solved including the CSS files before the JS, solving other dimensions related issues (most on opera) too

Changed January 15, 2009 02:19AM UTC by dmethvin comment:4

resolution: → invalid
status: newclosed

With jQuery 1.3 we've documented the requirement to include CSS before script for proper operation on Safari.