about summary refs log tree commit diff stats
path: root/src/css/match.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fixes & workarounds to compile on Nim 2.0.0bptato2023-08-011-1/+1
| | | | | | | | | | | | | | * Import punycode, as it has been removed from stdlib. * Fix some syntax errors * Apparently you can no longer compare distinct pointers with nil. Add explicit comparisons with typeof(nil) instead. * htmlparser: rename _ to other, as semantics of _ have changed. (Quite a shame, it looked better with _. Oh well.) * Explicitly specify mm:refc, as the browser OOMs with orc for some reason. Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8. (<1.6.8 it's broken & wontfix.)
* css: handle unknown tag names correctlybptato2023-07-251-0/+2
| | | | | | Instead of grouping all of them into TAG_UNKNOWN, match their tag names. To-do: this implementation is not very efficient.
* css/match: fix next sibling selector (+)bptato2023-02-131-2/+2
|
* WIP selector rewritebptato2023-01-271-86/+69
| | | | pretty slow for some reason
* selectorparser: support :link, :visitedbptato2023-01-011-0/+4
| | | | I say "support", but :visited is never matched.
* css: fix some bugs and improve cascading a bitbptato2022-12-291-0/+2
|
* More DOM workbptato2022-12-191-4/+4
|
* Add JS support to documentsbptato2022-12-181-1/+1
|
* More JS bindingsbptato2022-09-131-4/+6
|
* Fix combinator bugs + reimplement querySelectorAllbptato2022-09-011-77/+31
|
* Fix :nth-last-childbptato2022-08-231-3/+9
|
* Use more accurate selector terminologybptato2022-08-231-3/+3
|
* Fix nth-child bugs, rename select to matchbptato2022-08-231-0/+257