Skip to main content

Bug Tracker

Side navigation

#7132 closed bug (invalid)

Opened October 08, 2010 01:33PM UTC

Closed October 08, 2010 08:51PM UTC

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");

Attachments (0)
Change History (1)

Changed October 08, 2010 08:51PM UTC by snover comment:1

resolution: → invalid
status: newclosed

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