In step 8 of "invoke a paint callback" here: https://www.w3.org/TR/css-paint-api-1/#drawing-an-image It should use snappedConcreteObjectSize intead of concreteObjectSize.