]> source.dussan.org Git - jquery.git/commit
CSS: Don't cache unrecognized CSS property names
authorMichał Gołębiowski <m.goleb@gmail.com>
Mon, 11 May 2015 21:23:09 +0000 (23:23 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 1 Jun 2015 12:05:05 +0000 (14:05 +0200)
commitd471842b3e3af83c9a1be06b5d16f75bfa96af8c
treea0bbfce6e33b05a48b73a442d5c82d5737d9a1ad
parent6df669f0fb87cd9975a18bf6bbe3c3548afa4fee
CSS: Don't cache unrecognized CSS property names

This prevents jQuery from caching a prefixed property name if provided
directly by the user, e.g. the following code:

elem.css( "msTransform", "translate(5px, 2px)" );

should not prevent one from from later setting the transition directly:

elem.css( "transform", "translate(5px, 2px)" );

on a browser not understanding the unprefixed version which is the case
for Safari 8 & transform.

Fixes gh-2015
Closes gh-2298
src/css.js
test/unit/css.js