diff --git a/src/dom/snapshot/snapshot-view.ts b/src/dom/snapshot/snapshot-view.ts index f943801b..c85c3fe0 100644 --- a/src/dom/snapshot/snapshot-view.ts +++ b/src/dom/snapshot/snapshot-view.ts @@ -129,7 +129,7 @@ class SnapshotView extends DOMView { continue; } let headingFontSize = parseFloat(getComputedStyle(heading).fontSize); - if (headingFontSize / bodyFontSize <= 1) { + if (headingFontSize <= bodyFontSize) { continue; }