Skip to content

Commit 0f7bd28

Browse files
committed
Use correct bbox for the base when computing the bbox height.
1 parent b7901ee commit 0f7bd28

File tree

1 file changed

+1
-1
lines changed
  • mathjax3-ts/output/chtml/Wrappers

1 file changed

+1
-1
lines changed

mathjax3-ts/output/chtml/Wrappers/msqrt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class CHTMLmsqrt extends CHTMLWrapper {
175175
const [p, q] = this.getPQ(sbox);
176176
const [x] = this.getRootDimens(sbox);
177177
const t = this.font.params.rule_thickness;
178-
const H = bbox.h + q + t;
178+
const H = basebox.h + q + t;
179179
bbox.h = H + t;
180180
this.combineRootBBox(BBOX, sbox);
181181
BBOX.combine(sbox, x, H - sbox.h);

0 commit comments

Comments
 (0)