Skip to content

Commit 19c7c29

Browse files
authored
Revert "Remove zoom from special cases list" (#28673)
Reverts #26631 This got specced: w3c/csswg-drafts#9699 I left msZoom because it seems plausible someone will still be using it for backwards compat.
1 parent eb510a3 commit 19c7c29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-dom-bindings/src/shared/isUnitlessNumber.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const unitlessNumbers = new Set([
4646
'tabSize',
4747
'widows',
4848
'zIndex',
49+
'zoom',
4950
'fillOpacity', // SVG-related properties
5051
'floodOpacity',
5152
'stopOpacity',
@@ -60,6 +61,7 @@ const unitlessNumbers = new Set([
6061
'MozLineClamp',
6162
'msAnimationIterationCount',
6263
'msFlex',
64+
'msZoom',
6365
'msFlexGrow',
6466
'msFlexNegative',
6567
'msFlexOrder',

0 commit comments

Comments
 (0)