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: |
Description
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: http://jsfiddle.net/IgorMinar/fCnuh/7/ - in Chrome it works as expected.
The issue was introduced in 1.4.3.
Your example won't work in Firefox because it the nodes need to be attached to the DOM in order to have "presentation"