about summary refs log tree commit diff stats
path: root/src/css
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-15 17:47:58 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-15 17:47:58 +0100
commit86d05a993463b49d2bd9cc6cb6a7af9b416f802a (patch)
tree446c75a668695abc341bc32f2d5e21b7edbd8e4f /src/css
parentb00b6a1e1cc6d74bb0b76218ddb4dcf37bef7ac7 (diff)
downloadchawan-86d05a993463b49d2bd9cc6cb6a7af9b416f802a.tar.gz
Very much WIP table implementation
Diffstat (limited to 'src/css')
-rw-r--r--src/css/values.nim18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/css/values.nim b/src/css/values.nim
index c3050eae..fcd8e068 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -450,15 +450,15 @@ func cssDisplay(d: CSSDeclaration): CSSDisplay =
       of "inline": return DISPLAY_INLINE
       of "list-item": return DISPLAY_LIST_ITEM
       of "inline-block": return DISPLAY_INLINE_BLOCK
-      # of "table": return DISPLAY_TABLE
-      # of "table-row": return DISPLAY_TABLE_ROW
-      # of "table-cell": return DISPLAY_TABLE_CELL
-      # of "table-column": return DISPLAY_TABLE_COLUMN
-      # of "table-column-group": return DISPLAY_TABLE_COLUMN_GROUP
-      # of "inline-table": return DISPLAY_INLINE_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": return DISPLAY_TABLE
+      of "table-row": return DISPLAY_TABLE_ROW
+      of "table-cell": return DISPLAY_TABLE_CELL
+      of "table-column": return DISPLAY_TABLE_COLUMN
+      of "table-column-group": return DISPLAY_TABLE_COLUMN_GROUP
+      of "inline-table": return DISPLAY_INLINE_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 "none": return DISPLAY_NONE
       else: return DISPLAY_INLINE
   raise newException(CSSValueError, "Invalid display")