about summary refs log tree commit diff stats
path: root/src/html/parser.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-18 19:45:09 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-18 19:45:14 +0100
commitb4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2 (patch)
tree8ab23d3a607dcd61f22640a9a8d0d95f9c61fe1f /src/html/parser.nim
parentc5375d2a5d45294efa91530c5a0f9d055e09438f (diff)
downloadchawan-b4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2.tar.gz
Implement basics of new layout engine
Diffstat (limited to 'src/html/parser.nim')
-rw-r--r--src/html/parser.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html/parser.nim b/src/html/parser.nim
index b882d68e..0d2ccd3e 100644
--- a/src/html/parser.nim
+++ b/src/html/parser.nim
@@ -207,6 +207,7 @@ proc processDocumentBody(state: var HTMLParseState) =
     if state.elementNode.ownerDocument != nil:
       state.elementNode = state.elementNode.ownerDocument.body
 
+#TODO this adds text nodes to head
 proc processDocumentAddNode(state: var HTMLParseState, newNode: Node) =
   if state.elementNode.tagType == TAG_HTML:
     if state.in_body: