summaryrefslogtreecommitdiff
path: root/content/handlers/css
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/css')
-rw-r--r--content/handlers/css/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/css/utils.c b/content/handlers/css/utils.c
index dd669c629..cac777c1f 100644
--- a/content/handlers/css/utils.c
+++ b/content/handlers/css/utils.c
@@ -184,9 +184,9 @@ css_fixed nscss_len2px(
case CSS_UNIT_PX:
px_per_unit = F_1;
break;
- /* 1in = DPIpx */
+ /* 1in = 96 CSS pixels */
case CSS_UNIT_IN:
- px_per_unit = nscss_screen_dpi;
+ px_per_unit = F_96;
break;
/* 1in = 2.54cm => 1cm = (DPI/2.54)px */
case CSS_UNIT_CM: