React version: 16.14.0, 17.0.2 ## Steps To Reproduce 1. Apply aspectRatio via `style` - no aspectRatio applied 2. Add via className - aspectRatio applied Needs Chrome 79 or above: Link to code example: https://codesandbox.io/s/react-bug-not-applying-aspect-ratio-via-style-w2pqh?file=/src/App.js ## The current behavior No aspectRatio rule applied: https://codesandbox.io/s/react-bug-not-applying-aspect-ratio-via-style-w2pqh?file=/src/App.js ## The expected behavior aspectRatio applied, here I'm adding it via a `useLayoutEffect`: https://codesandbox.io/s/currying-hill-i09qn?file=/src/App.js
React version: 16.14.0, 17.0.2
Steps To Reproduce
style- no aspectRatio appliedNeeds Chrome 79 or above:
Link to code example: https://codesandbox.io/s/react-bug-not-applying-aspect-ratio-via-style-w2pqh?file=/src/App.js
The current behavior
No aspectRatio rule applied:
https://codesandbox.io/s/react-bug-not-applying-aspect-ratio-via-style-w2pqh?file=/src/App.js
The expected behavior
aspectRatio applied, here I'm adding it via a
useLayoutEffect:https://codesandbox.io/s/currying-hill-i09qn?file=/src/App.js