@@ -320,19 +320,25 @@ suite.define(() => {
320320 trailing : rtl
321321 ? trailingBounds . left - closeBounds . left
322322 : closeBounds . right - trailingBounds . right ,
323- tabOuterRadius : rtl ? tabStyle . borderTopRightRadius : tabStyle . borderTopLeftRadius ,
324- tabJoinRadius : rtl ? tabStyle . borderTopLeftRadius : tabStyle . borderTopRightRadius ,
325- closeJoinRadius : rtl ? closeStyle . borderTopRightRadius : closeStyle . borderTopLeftRadius ,
326- closeOuterRadius : rtl ? closeStyle . borderTopLeftRadius : closeStyle . borderTopRightRadius ,
323+ tabOuterRadius : Number . parseFloat (
324+ rtl ? tabStyle . borderTopRightRadius : tabStyle . borderTopLeftRadius ,
325+ ) ,
326+ tabJoinRadius : Number . parseFloat (
327+ rtl ? tabStyle . borderTopLeftRadius : tabStyle . borderTopRightRadius ,
328+ ) ,
329+ closeJoinRadius : Number . parseFloat (
330+ rtl ? closeStyle . borderTopRightRadius : closeStyle . borderTopLeftRadius ,
331+ ) ,
332+ closeOuterRadius : Number . parseFloat (
333+ rtl ? closeStyle . borderTopLeftRadius : closeStyle . borderTopRightRadius ,
334+ ) ,
327335 } ;
328336 } , direction ) ;
329337 expect ( tabPadding . trailing , `${ direction } glyph insets` ) . toBeCloseTo ( tabPadding . leading , 0 ) ;
330- expect ( parseFloat ( tabPadding . tabJoinRadius ) , `${ direction } tab join` ) . toBe ( 0 ) ;
331- expect ( parseFloat ( tabPadding . closeJoinRadius ) , `${ direction } close join` ) . toBe ( 0 ) ;
332- expect ( parseFloat ( tabPadding . tabOuterRadius ) , `${ direction } tab outer` ) . toBeGreaterThan ( 0 ) ;
333- expect ( parseFloat ( tabPadding . closeOuterRadius ) , `${ direction } close outer` ) . toBeGreaterThan (
334- 0 ,
335- ) ;
338+ expect ( tabPadding . tabJoinRadius , `${ direction } tab join` ) . toBe ( 0 ) ;
339+ expect ( tabPadding . closeJoinRadius , `${ direction } close join` ) . toBe ( 0 ) ;
340+ expect ( tabPadding . tabOuterRadius , `${ direction } tab outer` ) . toBeGreaterThan ( 0 ) ;
341+ expect ( tabPadding . closeOuterRadius , `${ direction } close outer` ) . toBeGreaterThan ( 0 ) ;
336342 }
337343 await tab . evaluate ( ( node ) => {
338344 const panel = node . closest ( ".side-panel" ) ;
0 commit comments