Skip to main content

Bug Tracker

Side navigation

#10269 closed bug (invalid)

Opened September 13, 2011 10:16PM UTC

Closed September 14, 2011 12:09AM UTC

Last modified September 14, 2011 04:32PM UTC

css() ignores certain properties on Firefox

Reported by: IgorMinar Owned by:
Priority: undecided Milestone: None
Component: css Version: 1.6.4rc1
Keywords: Cc:
Blocked by: Blocking:

this fails:

elem.css('invalid', 'invalid') && elem.css('invalid') == 'invalid'

more importantly this fails as well:

elem.css('display', 'none') && elem.css('display') == 'none'

See fiddle: - in Chrome it works as expected.

The issue was introduced in 1.4.3.

Attachments (0)
Change History (2)

Changed September 14, 2011 12:09AM UTC by rwaldron comment:1

component: unfiledcss
resolution: → invalid
status: newclosed

Your example won't work in Firefox because it the nodes need to be attached to the DOM in order to have "presentation"

Changed September 14, 2011 04:32PM UTC by IgorMinar comment:2

ok, fair enough. thanks