about summary refs log tree commit diff stats
path: root/src/html/catom.nim
Commit message (Collapse)AuthorAgeFilesLines
* dom: remove unnecessary/unused propertiesbptato2024-04-221-1/+2
| | | | | | | | | | * remove some properties we no longer use * convert novalidate into a reflected attribute * fix satClassList * remove reference to root node in every Node The last one is an obvious win when considering how often rootNode is used vs the memory used by a pointless pointer on every single object.
* Update code stylebptato2024-04-171-8/+9
| | | | | | * separate params with ; (semicolon) instead of , (colon) * reduce screaming snake case use * wrap long lines
* dom: add onclick attribute supportbptato2024-04-141-0/+1
| | | | | + better align attribute-based event handler behavior with other browsers
* buffer: form fixes & improvementsbptato2024-03-241-0/+2
| | | | | | | * fall back to text for unimplemented input types * add custom prompt to all text-like input types * show min/max for range * fix accidental override of repaint
* catom: at -> satbptato2024-03-211-64/+59
| | | | just for consistency
* catom: merge TagType with AttrTypebptato2024-03-041-23/+105
| | | | | it's inefficient and pointless to treat them differently, so just derive a new enum from TagType with a macro
* dom: enumize attribute namesbptato2024-02-081-15/+51
|
* Update chamebptato2024-02-071-0/+60
* Update chame to the latest version * Get rid of nodeType usage * Add atoms * Re-implement DOM attributes * document.write