Bug Tracker

Opened 6 years ago

Closed 6 years ago

#7337 closed bug (fixed)

"auto" keyword is coerced to empty string, breaking backward compatibility

Reported by: snover Owned by: john
Priority: blocker Milestone: 1.4.4
Component: css Version: 1.4.3
Keywords: regression Cc:
Blocked by: Blocking:

Description (last modified by snover)

In [53396b879bd29c090824da182e3cf69158829f82], when curCSS returns "auto", it is converted to a blank string. This behavior differs from previous versions of jQuery which pass through the "auto" keyword.

Change History (4)

comment:1 Changed 6 years ago by snover

  • Component changed from unfiled to css
  • Description modified (diff)
  • Keywords regression added
  • Priority changed from undecided to blocker
  • Status changed from new to open

comment:2 Changed 6 years ago by snover

  • Milestone changed from 1.5 to 1.4.4

comment:3 Changed 6 years ago by john

  • Owner set to john
  • Status changed from open to assigned

comment:4 Changed 6 years ago by jeresig

  • Resolution set to fixed
  • Status changed from assigned to closed

Make sure that accessing computed CSS for elements returns 'auto' instead of consistently. Fixes #7337.

Changeset: 9d1bfeb7ffe63b5a7488929b7be847bc1a00f6a6

Note: See TracTickets for help on using tickets.