about summary refs log tree commit diff stats
path: root/src/layout/box.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r--src/layout/box.nim8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index 7a380376..adcb5a0a 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -24,19 +24,14 @@ type
     cssvalues*: CSSSpecifiedValues
     node*: Node
 
-  RowContainer* = object
-    case leaf*: bool
-    of true: row*: CSSRowBox
-    of false: ctx*: InlineContext
-
   InlineContext* = ref object
     fromx*: int
     fromy*: int
     conty*: bool
     whitespace*: bool
     ws_initial*: bool
-    conts*: seq[RowContainer]
     rows*: seq[CSSRowBox]
+    thisrow*: seq[CSSRowBox]
 
   BlockContext* = ref object
     fromy*: int
@@ -60,6 +55,7 @@ type
     textdecoration*: CSSTextDecoration
     str*: string
     nodes*: seq[Node]
+    bottom*: int
 
   CSSInlineBox* = ref object of CSSBox
   CSSBlockBox* = ref object of CSSBox