about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-11 00:40:15 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-11 00:46:34 +0200
commit17bf0e843084712d9a914868ec44896f48d9d13a (patch)
tree4bafa32869cd5451090267005d8d81fded951f2f /src
parent48be38b8d04b9ca0c6796e259d762e4533d9a458 (diff)
downloadchawan-17bf0e843084712d9a914868ec44896f48d9d13a.tar.gz
cssvalues: add "clear" to table wrapper box
this one is weird but I'm sure the standard is technically right
Diffstat (limited to 'src')
-rw-r--r--src/css/cssvalues.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/css/cssvalues.nim b/src/css/cssvalues.nim
index e3a09a39..1d0f6425 100644
--- a/src/css/cssvalues.nim
+++ b/src/css/cssvalues.nim
@@ -1593,7 +1593,9 @@ func splitTable*(computed: CSSComputedValues):
     # wrapper & actual table layouts share the same sizing from the wrapper,
     # so we must add them here.
     cptPaddingLeft, cptPaddingRight, cptPaddingTop, cptPaddingBottom,
-    cptWidth, cptHeight, cptBoxSizing
+    cptWidth, cptHeight, cptBoxSizing,
+    # no clue why this isn't included in the standard
+    cptClear
   }
   for prop in CSSPropertyType:
     if prop in props: