about summary refs log tree commit diff stats
path: root/src/css
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-04 17:28:37 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-04 17:28:37 +0100
commita510b9494678edaa745e6662d649ef8eeb3f28a6 (patch)
treebcfe065361c3af4631cb4ee90f13640c230a0a66 /src/css
parentc5dc63741f0d3a876c88b86d3e0374148fb6b3d0 (diff)
downloadchawan-a510b9494678edaa745e6662d649ef8eeb3f28a6.tar.gz
catom: merge TagType with AttrType
it's inefficient and pointless to treat them differently, so just derive
a new enum from TagType with a macro
Diffstat (limited to 'src/css')
-rw-r--r--src/css/cascade.nim1
-rw-r--r--src/css/match.nim1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/css/cascade.nim b/src/css/cascade.nim
index 84eb481c..257d2ef0 100644
--- a/src/css/cascade.nim
+++ b/src/css/cascade.nim
@@ -9,6 +9,7 @@ import css/selectorparser
 import css/sheet
 import css/stylednode
 import css/values
+import html/catom
 import html/dom
 import html/enums
 import layout/layoutunit
diff --git a/src/css/match.nim b/src/css/match.nim
index 6482855b..4156e7fa 100644
--- a/src/css/match.nim
+++ b/src/css/match.nim
@@ -8,7 +8,6 @@ import css/selectorparser
 import css/stylednode
 import html/catom
 import html/dom
-import html/enums
 import utils/twtstr
 
 import chame/tags