about summary refs log tree commit diff stats
path: root/src/css/sheet.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/sheet.nim')
-rw-r--r--src/css/sheet.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/sheet.nim b/src/css/sheet.nim
index d1b47f1c..e7a18091 100644
--- a/src/css/sheet.nim
+++ b/src/css/sheet.nim
@@ -63,7 +63,7 @@ proc getSelectorIds(hashes: var SelectorHashes, sel: Selector): bool =
   of ID_SELECTOR:
     hashes.id = sel.id
     return true
-  of ATTR_SELECTOR, PSELEM_SELECTOR, UNIVERSAL_SELECTOR:
+  of ATTR_SELECTOR, PSELEM_SELECTOR, UNIVERSAL_SELECTOR, UNKNOWN_TYPE_SELECTOR:
     return false
   of PSEUDO_SELECTOR:
     if sel.pseudo.t in {PSEUDO_IS, PSEUDO_WHERE}: