Get dom/width cache tests passing in node

This commit is contained in:
Daniel Imms
2025-12-30 03:32:34 -08:00
parent ef978b370b
commit a513120348
4 changed files with 82 additions and 63 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export class DomRenderer extends Disposable implements IRenderer {
this._dimensionsStyleElement.remove();
}));
this._widthCache = new WidthCache(this._document, this._helperContainer);
this._widthCache = new WidthCache();
this._widthCache.setFont(
this._optionsService.rawOptions.fontFamily,
this._optionsService.rawOptions.fontSize,