diff options
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r-- | src/layout/box.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim index f36823ae..21c56afa 100644 --- a/src/layout/box.nim +++ b/src/layout/box.nim @@ -21,6 +21,7 @@ type children*: seq[CSSBox] context*: InlineContext bcontext*: BlockContext + cssvalues*: CSSComputedValues InlineContext* = ref object context*: FormatContextType @@ -30,7 +31,6 @@ type marginy*: int conty*: bool whitespace*: bool - cssvalues*: CSSComputedValues BlockContext* = ref object context*: FormatContextType @@ -42,6 +42,9 @@ type y*: int width*: int height*: int + color*: CSSColor + fontstyle*: CSSFontStyle + fontweight*: int runes*: seq[Rune] CSSInlineBox* = ref CSSInlineBoxObj |