diff options
author | bptato <nincsnevem662@gmail.com> | 2023-08-16 22:13:50 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-08-16 22:13:50 +0200 |
commit | e91b60b5962bed9842e8559df3d27bb5426b2db6 (patch) | |
tree | c751970f02b9670fc0980aa72d5364b397581984 | |
parent | 95d48d0e34aca70a06eb2f23944e2e14e5995b54 (diff) | |
download | chawan-e91b60b5962bed9842e8559df3d27bb5426b2db6.tar.gz |
dom: remove dead code
-rw-r--r-- | src/html/dom.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim index c9b6bd6e..8afb68e6 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -2013,13 +2013,6 @@ func newDocumentType*(document: Document, name: string, publicId = "", systemId index: -1 ) -func inHTMLNamespace*(element: Element): bool = element.namespace == Namespace.HTML -func inMathMLNamespace*(element: Element): bool = element.namespace == Namespace.MATHML -func inSVGNamespace*(element: Element): bool = element.namespace == Namespace.SVG -func inXLinkNamespace*(element: Element): bool = element.namespace == Namespace.XLINK -func inXMLNamespace*(element: Element): bool = element.namespace == Namespace.XML -func inXMLNSNamespace*(element: Element): bool = element.namespace == Namespace.XMLNS - func isResettable*(element: Element): bool = return element.tagType in {TAG_INPUT, TAG_OUTPUT, TAG_SELECT, TAG_TEXTAREA} |