@@ -190,12 +190,15 @@ export class BaseCustomWebComponentNoAttachedTemplate extends HTMLElement {
190190 b ( ) ;
191191 } else if ( a . name . startsWith ( 'bcw:' ) ) {
192192 if ( a . name === 'bcw:visible' ) {
193- const value = a . value . substring ( 2 , a . value . length - 2 ) . replaceAll ( '&' , '&' ) + "?'visible':'collapse'" ;
194- const b = ( ) => this . _bindingSetElementCssValue ( < HTMLElement | SVGElement > node , 'visibility' , value , repeatBindingItems , host , context ) ;
195- this . _bindings . push ( [ b , null ] ) ;
196- b ( ) ;
193+ const value = a . value . substring ( 2 , a . value . length - 2 ) . replaceAll ( '&' , '&' ) ;
194+ const b1 = ( ) => this . _bindingSetElementCssValue ( < HTMLElement | SVGElement > node , 'visibility' , value + "?'':'collapse'" , repeatBindingItems , host , context ) ;
195+ const b2 = ( ) => this . _bindingSetElementCssValue ( < HTMLElement | SVGElement > node , 'content-visibility' + "?'':'hidden'" , value , repeatBindingItems , host , context ) ;
196+ this . _bindings . push ( [ b1 , null ] ) ;
197+ this . _bindings . push ( [ b2 , null ] ) ;
198+ b1 ( ) ;
199+ b2 ( ) ;
197200 }
198- } else if ( a . name . length === 28 && a . name === 'repeat-changed-item-callback' ) {
201+ } else if ( a . name . length === 28 && a . name === 'repeat-changed-item-callback' ) {
199202 //do nothing
200203 } else if ( a . name === 'if' && node instanceof HTMLTemplateElement ) {
201204 const value = a . value . substring ( 2 , a . value . length - 2 ) . replaceAll ( '&' , '&' ) ;
0 commit comments