Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10269 closed bug (invalid)

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: http://jsfiddle.net/IgorMinar/fCnuh/7/ - in Chrome it works as expected.

The issue was introduced in 1.4.3.

Change History (2)

comment:1 Changed 11 years ago by Rick Waldron

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"

comment:2 Changed 11 years ago by IgorMinar

ok, fair enough. thanks

Note: See TracTickets for help on using tickets.