@@ -730,7 +730,6 @@ function createWindowClone(ownerDocument, containerDocument, width, height, opti
730730 }
731731 documentClone . replaceChild ( options . javascriptEnabled === true ? documentClone . adoptNode ( documentElement ) : removeScriptNodes ( documentClone . adoptNode ( documentElement ) ) , documentClone . documentElement ) ;
732732 documentClone . close ( ) ;
733-
734733 } ) ;
735734}
736735
@@ -2124,9 +2123,9 @@ function calculateCurvePoints(bounds, borderRadius, borders) {
21242123 topRightOuter : getCurvePoints ( x + topWidth , y , trh , trv ) . topRight . subdivide ( 0.5 ) ,
21252124 topRightInner : getCurvePoints ( x + Math . min ( topWidth , width + borders [ 3 ] . width ) , y + borders [ 0 ] . width , ( topWidth > width + borders [ 3 ] . width ) ? 0 :trh - borders [ 3 ] . width , trv - borders [ 0 ] . width ) . topRight . subdivide ( 0.5 ) ,
21262125 bottomRightOuter : getCurvePoints ( x + bottomWidth , y + rightHeight , brh , brv ) . bottomRight . subdivide ( 0.5 ) ,
2127- bottomRightInner : getCurvePoints ( x + Math . min ( bottomWidth , width + borders [ 3 ] . width ) , y + Math . min ( rightHeight , height + borders [ 0 ] . width ) , Math . max ( 0 , brh - borders [ 1 ] . width ) , Math . max ( 0 , brv - borders [ 2 ] . width ) ) . bottomRight . subdivide ( 0.5 ) ,
2126+ bottomRightInner : getCurvePoints ( x + Math . min ( bottomWidth , width - borders [ 3 ] . width ) , y + Math . min ( rightHeight , height + borders [ 0 ] . width ) , Math . max ( 0 , brh - borders [ 1 ] . width ) , brv - borders [ 2 ] . width ) . bottomRight . subdivide ( 0.5 ) ,
21282127 bottomLeftOuter : getCurvePoints ( x , y + leftHeight , blh , blv ) . bottomLeft . subdivide ( 0.5 ) ,
2129- bottomLeftInner : getCurvePoints ( x + borders [ 3 ] . width , y + leftHeight , Math . max ( 0 , blh - borders [ 3 ] . width ) , Math . max ( 0 , blv - borders [ 2 ] . width ) ) . bottomLeft . subdivide ( 0.5 )
2128+ bottomLeftInner : getCurvePoints ( x + borders [ 3 ] . width , y + leftHeight , Math . max ( 0 , blh - borders [ 3 ] . width ) , blv - borders [ 2 ] . width ) . bottomLeft . subdivide ( 0.5 )
21302129 } ;
21312130}
21322131
0 commit comments