From ecce5eb3243131765f402cc976eff863ccd0ba90 Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 3 Jan 2025 01:30:04 +0100 Subject: Unify PositionStaticLike, update todo sticky, ruby, writing-mode: lots of complexity for little gain, and the fallback works just as well (if not better) --- src/css/layout.nim | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/css/layout.nim') diff --git a/src/css/layout.nim b/src/css/layout.nim index d2538af8..be807aa4 100644 --- a/src/css/layout.nim +++ b/src/css/layout.nim @@ -156,11 +156,6 @@ func max(span: Span): LayoutUnit = func minClamp(x: LayoutUnit; span: Span): LayoutUnit = return max(min(x, span.send), span.start) -#TODO implement sticky -const PositionStaticLike = { - PositionStatic, PositionSticky -} - type BlockContext = object lctx: LayoutContext -- cgit