You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6aab68b
Browse filesBrowse the repository at this point in the historyBrowse files
fix: treat fontSizeAdjust, initialLetter, mathDepth, shapeImageThreshold as unitless (#5872) (#5890)
* fix: treat fontSizeAdjust, initialLetter, mathDepth, shapeImageThreshold as unitless (#5872)
* fix: use sorted Set in addUnitIfNeeded so Object.prototype keys take units
Numbers for `fontSizeAdjust`, `hyphenateLimitChars`, `initialLetter`, `mathDepth`, `shapeImageThreshold`, `maskBorderOutset`, `maskBorderSlice`, and `maskBorderWidth` in object styles render without a unit:
// Taken from https://github.com/facebook/react/blob/b87aabdfe1b7461e7331abb3601d9e6bb27544bc/packages/react-dom/src/shared/dangerousStyleValue.js
0 commit comments