From 17bf0e843084712d9a914868ec44896f48d9d13a Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 11 Jun 2024 00:40:15 +0200 Subject: cssvalues: add "clear" to table wrapper box this one is weird but I'm sure the standard is technically right --- src/css/cssvalues.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit