diff options
author | bptato <nincsnevem662@gmail.com> | 2022-01-18 19:45:09 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-01-18 19:45:14 +0100 |
commit | b4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2 (patch) | |
tree | 8ab23d3a607dcd61f22640a9a8d0d95f9c61fe1f /src/html/parser.nim | |
parent | c5375d2a5d45294efa91530c5a0f9d055e09438f (diff) | |
download | chawan-b4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2.tar.gz |
Implement basics of new layout engine
Diffstat (limited to 'src/html/parser.nim')
-rw-r--r-- | src/html/parser.nim | 1 |
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: |