about summary refs log tree commit diff stats
path: root/src/css/match.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-21 17:57:41 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-21 17:58:02 +0100
commit4a897f27bbfb114f256890eb70c4d7e053f0e19b (patch)
treec6e09064bb172f36ffbaab8d4eec2f8658e6c1af /src/css/match.nim
parent9ff343c860fa4b109e139579146246b9a0d7a298 (diff)
downloadchawan-4a897f27bbfb114f256890eb70c4d7e053f0e19b.tar.gz
catom: at -> sat
just for consistency
Diffstat (limited to 'src/css/match.nim')
-rw-r--r--src/css/match.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/match.nim b/src/css/match.nim
index 4156e7fa..d3e7f526 100644
--- a/src/css/match.nim
+++ b/src/css/match.nim
@@ -139,7 +139,7 @@ func pseudoSelectorMatches[T: Element|StyledNode](elem: T, sel: Selector, felem:
   of PSEUDO_LANG:
     return sel.pseudo.s == "en" #TODO languages?
   of PSEUDO_LINK:
-    return elem.tagType in {TAG_A, TAG_AREA} and elem.attrb(atHref)
+    return elem.tagType in {TAG_A, TAG_AREA} and elem.attrb(satHref)
   of PSEUDO_VISITED:
     return false