Bug Tracker

Ticket #7132 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Double-Negative in Styles (Internet Explorer 8)

Reported by: KrisK Owned by:
Priority: undecided Milestone:
Component: css Version: 1.4.2
Keywords: internet explorer 8 double negative Cc:
Blocking: Blocked by:


In Line 4618 of the unminified version of jQuery 1.4.2 Internet Explorer 8 produces an error, if any style-related function of jQuery is called with a double negative.

example: $(el).css("margin-top","--5px");

Change History

comment:1 Changed 5 years ago by snover

  • Status changed from new to closed
  • Resolution set to invalid

Shockingly, passing invalid input will often cause errors. So don’t do it. :)

Note: See TracTickets for help on using tickets.