#816·satori

`transform: none` throws "Failed to parse declaration"

Author: RaphaelFakhriCreated Sep 29, 2026Updated Sep 29, 2026

Description

Setting transform: 'none' on an element makes satori() throw. The value is valid CSS and is commonly used to reset a transform, for example in a shared style object that a variant overrides.

Reproduction

javascript
await satori(
  <div style={{ width: 10, height: 10, backgroundColor: 'red', transform: 'none' }} />,
  { width: 100, height: 100, fonts }
)

Actual behavior

Error: Failed to parse declaration "transform: none"

Expected behavior

The element renders the same as an element without a transform style.