Background-size is not animatable

Looking at the background-size property here, the docs say it’s animatable: Unity - Manual: USS properties reference

After running some tests it seems it is in fact not animatable. I’ve tried transitions with different pixel value background-size and it seems to be discrete.

Would be great to get this working.

Indeed, that is an oversight (bug). It should be animatable. Would you mind reporting it as a bug?

Cool, logged as IN-87124.

I see the bug is fixed here : Unity Issue Tracker - UI Toolkit 'background-size' property is not fully animatable

Any plan to backport the fix to 2022 LTS ? Would be nice.

It was already supported, there was a documentation issue:
background-size: Transitions are fully supported only when using size in pixels or percentages, such as pixel-to-pixel or percentage-to-percentage transitions.