Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14432 closed bug (fixed)

css('z-index') returns incorrect type of value

Reported by: katsgeorgeek@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.1.0-beta1
Keywords: Cc:
Blocked by: Blocking:

Description

If I call

$('.test').css('z-index')

browser IE returns value of a number type. But all other browsers return string.

PR: https://github.com/jquery/jquery/pull/1395

Change History (1)

comment:1 Changed 6 years ago by George Kats

Resolution: fixed
Status: newclosed

Fix #14432: Always return string from .css("z-index"). Close gh-1395.

Changeset: 5ce4b06c285bd8cf52eaff0f39e0b9192a927873

Note: See TracTickets for help on using tickets.