Bug Tracker

Modify

Ticket #10269 (closed bug: invalid)

Opened 20 months ago

Last modified 20 months ago

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

comment:1 Changed 20 months ago by rwaldron

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from unfiled to css

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 20 months ago by IgorMinar

ok, fair enough. thanks

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.