]> source.dussan.org Git - jquery.git/commit
CSS: Add missing jQuery.cssNumber entries
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 27 Mar 2023 19:50:26 +0000 (21:50 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2023 19:50:26 +0000 (21:50 +0200)
commit3eed28209ed02eca498095b597727bf1f98163aa
tree097a8b3577f30c7a2493ed4f52afd058cb001f30
parent3936cf3ef355a556d7990c77bbcacb69208fa4ed
CSS: Add missing jQuery.cssNumber entries

New entries cover `aspect-ratio`, `scale`, and a few others.

Also, remove quotes around `cssNumber` keys

A few properties have been taken from React:
https://github.com/facebook/react/blob/afea1d0c536e0336735b0ea5c74f635527b65785/packages/react-dom-bindings/src/shared/CSSProperty.js\#L8-L58

Fixes gh-5179
Closes gh-5233
src/css.js
test/unit/css.js