diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-18 17:58:38 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-18 17:58:38 +0200 |
commit | d6000870dbf2f110c3903e03833151cce1d9759a (patch) | |
tree | 0a1ab21793d9413c764d594a36396234be1ddbc0 /src/html | |
parent | 918964940ddbbef317168392bc5f5e193a7a96cd (diff) | |
download | chawan-d6000870dbf2f110c3903e03833151cce1d9759a.tar.gz |
Enable remote stylesheets; fix inline block values
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/dom.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim index 6788bd35..d5ee1015 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -163,6 +163,7 @@ type # For debugging func `$`*(node: Node): string = + if node == nil: return "nil" case node.nodeType of ELEMENT_NODE: let element = Element(node) @@ -535,7 +536,7 @@ func newComment*(document: Document, data: string = ""): Comment = result.document = document result.data = data -# note: we do not implement custom elements +#TODO custom elements func newHTMLElement*(document: Document, tagType: TagType, namespace = Namespace.HTML, prefix = none[string]()): HTMLElement = case tagType of TAG_INPUT: |