about summary refs log tree commit diff stats
path: root/src/html/chadombuilder.nim
Commit message (Collapse)AuthorAgeFilesLines
* reduce new() usagebptato2023-10-251-1/+1
|
* Add innerHTML setterbptato2023-10-231-2/+39
| | | | yay
* update chamebptato2023-09-191-0/+1
| | | | and with that, resolve the unknown input type issue
* Update submodulesbptato2023-09-141-1/+9
|
* javascript: factor out fromJSbptato2023-08-291-0/+1
|
* javascript: refactorbptato2023-08-281-1/+2
| | | | | | | Split out parts of the JS module, because it was starting to confuse the compiler a little. (Peakmem is back at 750M. Interesting.)
* DOMParser: use correct URLbptato2023-08-231-5/+11
| | | | | | | | Use current document's URL if window && window.document, otherwise default to about:blank. Also, it seems that passing nil to window is really necessary in some cases, so remove notes indicating otherwise.
* chadombuilder: implement restartbptato2023-08-151-0/+12
| | | | | Now pages (once again) do not break when a meta charset tag is defined. Hooray!
* Move HTML parsing into Chamebptato2023-08-151-2/+3
| | | | Operation "modularize Chawan somewhat" part 2
* Move charsets into chakasubptato2023-08-141-1/+2
| | | | Operation "modularize Chawan somewhat" part 1
* htmlparser: remove nil comparisons for Handlebptato2023-07-271-2/+3
| | | | This makes it possible to use non-reference types as Handle.
* htmlparser: add parse error handlingbptato2023-07-151-1/+0
|
* htmlparser: fix form association regressionbptato2023-07-101-2/+3
| | | | | | | associateWithForm was checking whether the element was in the same tree as the form, however associateWithForm is called when element is has not been inserted into the tree yet. As a fix, pass the intended parent and perform the check on that.
* htmlparser: remove more references to dombptato2023-07-091-3/+6
|
* htmlparser: decouple from DOMbptato2023-07-091-0/+204
Instead of directly appending nodes to the DOM, use a DOMBuilder interface.