Bug Tracker

Opened 7 years ago

Closed 7 years ago

#7132 closed bug (invalid)

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:
Blocked by: Blocking:

Description

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 (1)

comment:1 Changed 7 years ago by snover

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.