about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-27 18:32:54 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-27 18:32:54 +0200
commita5edc0a92a02116e08acba0c1e0a9d91b5fd6688 (patch)
tree04b0d1e8ef1c8fbfbc4713b8b0b7fd21d88d0164 /src
parent050a18afb4009d973d3d3989ccae389d5473da25 (diff)
downloadchawan-a5edc0a92a02116e08acba0c1e0a9d91b5fd6688.tar.gz
layout: remove incorrect comment
Diffstat (limited to 'src')
-rw-r--r--src/layout/engine.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index b8b787b7..adf691ef 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -930,8 +930,6 @@ proc buildInline(ictx: InlineContext, box: InlineBoxBuilder) =
   if box.splitend:
     let padding_right = box.computed{"padding-right"}.px(ictx.viewport,
       ictx.availableWidth)
-    # Padding should not be treated as whitespace, so we just increase line
-    # width instead of adding fake spacing.
     ictx.currentLine.width += padding_right
     if padding_right > 0:
       ictx.currentLine.addPadding(padding_right,