From c9d3ccdf0d5df2c88bbcdda56ba9529de9f976b1 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sat, 13 Jun 2026 18:42:34 +0200 Subject: [PATCH] fixed: top was not applied to style --- AppKit/CPTextView/CPLayoutManager.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTextView/CPLayoutManager.j b/AppKit/CPTextView/CPLayoutManager.j index fd0accf43..98908f044 100644 --- a/AppKit/CPTextView/CPLayoutManager.j +++ b/AppKit/CPTextView/CPLayoutManager.j @@ -1378,7 +1378,7 @@ var _objectsInRange = function(aList, aRange) if (_runs[i].view) _runs[i].view._frame.origin.y += verticalOffset; - _runs[i].elem.top = (_runs[i].elem.top + verticalOffset) + 'px'; + _runs[i].elem.style.top = parseFloat(_runs[i].elem.style.top + verticalOffset) + 'px'; _runs[i].DOMpatched = YES; } }