From 3b0567f812ec5d4b82b61ff7b0c72c5b3454a698 Mon Sep 17 00:00:00 2001 From: Harsh Singh Date: Mon, 23 Oct 2023 15:18:26 +0530 Subject: [PATCH] fixed tests --- ftd/t/js/68-mask.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ftd/t/js/68-mask.html b/ftd/t/js/68-mask.html index b042dad356..590c6d4d8c 100644 --- a/ftd/t/js/68-mask.html +++ b/ftd/t/js/68-mask.html @@ -38,9 +38,12 @@ dark: "red", light: "red" })), inherited); - parenti0.setProperty(fastn_dom.PropertyKind.MaskImage, fastn_dom.MaskImage.Src(fastn.recordInstance({ - dark: "https://mdn.github.io/css-examples/masking/star.svg", - light: "https://mdn.github.io/css-examples/masking/star.svg" + parenti0.setProperty(fastn_dom.PropertyKind.Mask, fastn_dom.Mask.Image(fastn.recordInstance({ + linear_gradient: null, + src: fastn.recordInstance({ + dark: "https://mdn.github.io/css-examples/masking/star.svg", + light: "https://mdn.github.io/css-examples/masking/star.svg" + }) })), inherited); } finally { __fastn_package_name__ = __fastn_super_package_name__;