about summary refs log tree commit diff stats
path: root/src/html/dom.nim
Commit message (Collapse)AuthorAgeFilesLines
* css/cascade: remove scoped sheetsbptato2023-01-071-13/+26
| | | | ...in favor of handling all style elements like other browsers
* dom: fix object conversion bug in optionsbptato2023-01-051-1/+1
|
* client, pager, dom, ...: better error handlingbptato2023-01-041-7/+5
| | | | Now the browser shouldn't completely die when a buffer crashes.
* dom: add better attribute reflectionbptato2023-01-021-104/+222
| | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes.
* dom: support a few more getters/settersbptato2023-01-021-8/+47
|
* Add support for <label>bptato2023-01-021-1/+53
|
* dom: fix collection cachingbptato2022-12-271-37/+51
| | | | Use ids instead of pure pointers, so we can utilize the JS finalizer.
* Implement DOMTokenList, item functions for collectionsbptato2022-12-261-34/+125
|
* getElementsByClassName on Document and Elementbptato2022-12-261-3/+9
| | | | Instead of Node.
* Correct attribute functions, de-extern jserrbptato2022-12-261-75/+54
| | | | | | Instead of unnecessarily marking every jserr function as *, add the used pragma (so the C compiler can get rid of them later.) Also, use the correct definition of attribute namespace.
* dom: correct constructors, more create functionsbptato2022-12-261-43/+85
|
* DOM: implement many new methodsbptato2022-12-261-8/+121
|
* dom: add navigator objectbptato2022-12-261-2/+12
|
* dom: fix select default displaybptato2022-12-211-3/+15
|
* Add unicode normalization, etcbptato2022-12-191-2/+2
|
* More DOM workbptato2022-12-191-243/+534
|
* More work on DOM (incl. bugfixes)bptato2022-12-191-143/+129
|
* Add JS support to documentsbptato2022-12-181-41/+503
|
* Fix typobptato2022-11-301-1/+1
|
* Add textareabptato2022-11-281-45/+112
| | | | Editing is implemented using an external editor (like vi).
* Add support for <button>bptato2022-11-271-2/+23
|
* Re-enable media queriesbptato2022-10-191-4/+11
|
* Rename jsget/jsset to jsfget/jsfset for functionsbptato2022-09-161-5/+5
| | | | | The original idea was to use the same pragmas as object members, but unfortunately this doesn't seem to work consistently after all.
* Bugfixes & test JS event loopbptato2022-09-161-8/+42
|
* More JS bindingsbptato2022-09-131-12/+63
|
* Fix nth-child bugs, rename select to matchbptato2022-08-231-3/+15
|
* Add interactive <select>bptato2022-07-311-2/+17
|
* Add SupportedFormAssociatedElementsbptato2022-07-301-3/+2
|
* Fix incorrect use of del()bptato2022-07-291-1/+1
|
* Fix StyledNode invalidation & othersbptato2022-07-271-4/+3
|
* Fix an infinite loop in getElementByIdbptato2022-07-231-11/+4
|
* Optimize dombptato2022-07-211-74/+72
|
* Enable remote stylesheets; fix inline block valuesbptato2022-07-181-1/+2
|
* Implement select element displaybptato2022-07-171-53/+174
| | | | | You can't actually use them yet. But at least they don't flood the screen with options now.
* Fix formsbptato2022-07-171-22/+17
|
* Use StyledNodes instead of passing the entire DOM to the layout enginebptato2022-07-161-36/+6
| | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching.
* Clean up HTML namespace mess, enable processInForeignContentbptato2022-07-141-9/+8
|
* Fix a tokenizer bug, clean up some warningsbptato2022-07-121-6/+19
|
* Fix and clean up some dom-based featuresbptato2022-07-111-44/+69
|
* Implement HTML5 parsingbptato2022-07-111-88/+348
| | | | | | | Completely replaced the previous HTML2 (?) parser, which was a bad re-implementation of w3m's parser in the first place. Now we have a (sort of) compliant HTML5 parser. Needs tests, badly.
* Add querySelector and querySelectorAll for Elementbptato2022-05-231-0/+17
|
* SpecifiedValue -> ComputedValuebptato2022-05-131-2/+2
| | | | Actually it's neither but ComputedValue is more accurate.
* Add support for :nth-child, implement textContentbptato2022-05-101-0/+11
|
* Cleanup form method codebptato2022-02-081-8/+38
|
* Implement formsbptato2022-01-291-39/+188
| | | | | | Note: for now, only input tags are supported. Also the implementation is extremely hacky and needs refactoring... But it works, I think.
* Fix stylesheet containment bugbptato2022-01-251-4/+0
|
* Optimize cascading algorithmbptato2022-01-241-0/+1
|
* Refactorbptato2022-01-241-11/+12
|
* Fix node to cell mappingbptato2022-01-241-8/+29
|
* Support external stylesheetsbptato2022-01-231-2/+11
|