Skip to content

Commit

Permalink
Revert "Remove zoom from special cases list" (facebook#28673)
Browse files Browse the repository at this point in the history
Reverts facebook#26631

This got specced: w3c/csswg-drafts#9699

I left msZoom because it seems plausible someone will still be using it
for backwards compat.
  • Loading branch information
sophiebits authored and AndyPengc12 committed Apr 15, 2024
1 parent 4c3268b commit 2774689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-dom-bindings/src/shared/isUnitlessNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const unitlessNumbers = new Set([
'tabSize',
'widows',
'zIndex',
'zoom',
'fillOpacity', // SVG-related properties
'floodOpacity',
'stopOpacity',
Expand All @@ -60,6 +61,7 @@ const unitlessNumbers = new Set([
'MozLineClamp',
'msAnimationIterationCount',
'msFlex',
'msZoom',
'msFlexGrow',
'msFlexNegative',
'msFlexOrder',
Expand Down

0 comments on commit 2774689

Please sign in to comment.