Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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
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.

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