Skip to content

Commit 37a5b82

Browse files
committed
Fix incorrect em unit calculation in CssBoxProperties
1 parent c4257c4 commit 37a5b82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/HtmlRenderer/Core/Dom/CssBoxProperties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ public double ActualBorderSpacingVertical
14321432
/// <returns></returns>
14331433
public double GetEmHeight()
14341434
{
1435-
return ActualFont.Height;
1435+
return ActualFont.Size * 96d / 72d;
14361436
}
14371437

14381438
/// <summary>

0 commit comments

Comments
 (0)