Bug Tracker

Ticket #7337 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Description (last modified by snover) (diff)

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

comment:1 Changed 4 years ago by snover

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

comment:2 Changed 4 years ago by snover

  • Milestone changed from 1.5 to 1.4.4

comment:3 Changed 4 years ago by john

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

comment:4 Changed 4 years ago by jeresig

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

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.