aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/css/values.nim20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/css/values.nim b/src/css/values.nim
index 8ad2a92a..7d5d5bc5 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -436,16 +436,16 @@ func cssDisplay(d: CSSDeclaration): CSSDisplay =
case $tok.value
of "block": return DISPLAY_BLOCK
of "inline": return DISPLAY_INLINE
- of "inline-block": return DISPLAY_INLINE_BLOCK
- of "list-item": return DISPLAY_LIST_ITEM
- of "table": return DISPLAY_TABLE
- of "table-row-group": return DISPLAY_TABLE_ROW_GROUP
- of "table-header-group": return DISPLAY_TABLE_HEADER_GROUP
- of "table-footer-group": return DISPLAY_TABLE_FOOTER_GROUP
- of "table-column-group": return DISPLAY_TABLE_COLUMN_GROUP
- of "table-row": return DISPLAY_TABLE_ROW
- of "table-column": return DISPLAY_TABLE_COLUMN
- of "table-cell": return DISPLAY_TABLE_CELL
+ # of "inline-block": return DISPLAY_INLINE_BLOCK
+ # of "list-item": return DISPLAY_LIST_ITEM
+ # of "table": return DISPLAY_TABLE
+ # of "table-row-group": return DISPLAY_TABLE_ROW_GROUP
+ # of "table-header-group": return DISPLAY_TABLE_HEADER_GROUP
+ # of "table-footer-group": return DISPLAY_TABLE_FOOTER_GROUP
+ # of "table-column-group": return DISPLAY_TABLE_COLUMN_GROUP
+ # of "table-row": return DISPLAY_TABLE_ROW
+ # of "table-column": return DISPLAY_TABLE_COLUMN
+ # of "table-cell": return DISPLAY_TABLE_CELL
of "none": return DISPLAY_NONE
else: return DISPLAY_INLINE
raise newException(CSSValueError, "Invalid display")