diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-04 17:28:37 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-04 17:28:37 +0100 |
commit | a510b9494678edaa745e6662d649ef8eeb3f28a6 (patch) | |
tree | bcfe065361c3af4631cb4ee90f13640c230a0a66 /src/css | |
parent | c5dc63741f0d3a876c88b86d3e0374148fb6b3d0 (diff) | |
download | chawan-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.nim | 1 | ||||
-rw-r--r-- | src/css/match.nim | 1 |
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 |