aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-08-08 21:01:47 +0200
committerbptato <nincsnevem662@gmail.com>2021-08-08 21:01:47 +0200
commitd7cb6d7d610df886d028ca6d6aecf3d9a3ba54ff (patch)
tree5eb75d8b95ed9e6eab1e7f3d72b8afd1adc0e283 /src/types
parentfa4560f63e38886b2b7541642b9aa1656dc40508 (diff)
downloadchawan-d7cb6d7d610df886d028ca6d6aecf3d9a3ba54ff.tar.gz
Implement CSS display none in box renderer etc.
Other changes being bugfixes and a temporary implementation of "view source"
Diffstat (limited to 'src/types')
-rw-r--r--src/types/enums.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types/enums.nim b/src/types/enums.nim
index eac71dd5..e257e579 100644
--- a/src/types/enums.nim
+++ b/src/types/enums.nim
@@ -78,6 +78,9 @@ type
CSSGlobalValueType* = enum
VALUE_INITIAL, VALUE_INHERIT, VALUE_REVERT, VALUE_UNSET
+ CSSValueType* = enum
+ VALUE_NONE, VALUE_LENGTH, VALUE_COLOR, VALUE_CONTENT, VALUE_DISPLAY, VALUE_FONT_STYLE
+
DrawInstructionType* = enum
DRAW_TEXT, DRAW_GOTO, DRAW_FGCOLOR, DRAW_BGCOLOR, DRAW_STYLE, DRAW_RESET