Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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