Render Video alpha: a matte array of the wrong length or with a non-number is an error (#14163)

This commit is contained in:
RickiNano committed 2026-11-24 16:07:47 +01:00
1 parent d137f58e06
commit e5ef3bd3fe
1 file changed
+2
@@ -120,6 +120,8 @@ fn a_wrong_alpha_or_matte_is_an_error() {
json!({"format": "png", "alpha": true}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": "green"}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": [0, 2, 0]}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": [0, 1]}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": [0, "1", 0]}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": 7}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": "00ff00"}),
json!({"format": "png", "alpha": "premultipliedColor", "matte": "#00ff0080"}),