about summary refs log tree commit diff stats
path: root/src/css/cascade.nim
Commit message (Collapse)AuthorAgeFilesLines
* css/cascade, layout/engine: add table alignbptato2023-01-081-0/+10
| | | | Also fix margin-left/right: auto, to some extent.
* css/cascade: remove scoped sheetsbptato2023-01-071-32/+2
| | | | ...in favor of handling all style elements like other browsers
* dom: add better attribute reflectionbptato2023-01-021-2/+4
| | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes.
* selectorparser: support :link, :visitedbptato2023-01-011-4/+3
| | | | I say "support", but :visited is never matched.
* cascade: document a bitbptato2023-01-011-2/+7
|
* css/cascade: fix stylesheets not being copied in <head>bptato2022-12-311-1/+3
|
* css: fix some bugs and improve cascading a bitbptato2022-12-291-11/+22
|
* layout/engine: get rid of dom dependencybptato2022-12-271-18/+39
| | | | Layout should only depend on cascading.
* Implement DOMTokenList, item functions for collectionsbptato2022-12-261-1/+1
|
* Add font color presentational hintbptato2022-12-251-0/+6
|
* More DOM workbptato2022-12-191-3/+3
|
* Display text for img tag, background-imagebptato2022-12-161-3/+15
|
* Fix color contrast correctionbptato2022-12-121-0/+5
| | | | | Instead of just inverting the color and hoping for the best, convert it to YUV and increase/decrease luminance based on results.
* Add support for q, fix list-item counter behaviorbptato2022-12-121-4/+12
|
* Add div alignbptato2022-12-111-0/+9
|
* Support vertical-align on tdbptato2022-12-111-1/+14
|
* Add textareabptato2022-11-281-5/+18
| | | | Editing is implemented using an external editor (like vi).
* Fix some table layout issuesbptato2022-11-251-0/+2
|
* Add some quirks mode rules + presentational hintsbptato2022-11-251-1/+43
| | | | Only as a POC for now.
* Avoid forking child processes from the main processbptato2022-11-241-1/+3
| | | | Caveat: this breaks piped streams.
* Make it compile...bptato2022-10-191-2/+2
|
* Re-enable media queriesbptato2022-10-191-2/+3
|
* Fix nth-child bugs, rename select to matchbptato2022-08-231-1/+1
|
* Fix incorrect selector parsing, remove httpclient from loaderbptato2022-08-031-9/+24
|
* Implement revert valuebptato2022-07-301-59/+20
|
* Fix cascading bugs & performance issuesbptato2022-07-281-3/+10
|
* Fix StyledNode invalidation & othersbptato2022-07-271-44/+40
|
* Optimize dombptato2022-07-211-3/+4
|
* Fix formsbptato2022-07-171-39/+17
|
* Fix StyledNode cachingbptato2022-07-171-93/+37
|
* Use StyledNodes instead of passing the entire DOM to the layout enginebptato2022-07-161-30/+175
| | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching.
* Implement HTML5 parsingbptato2022-07-111-4/+6
| | | | | | | 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.
* SpecifiedValue -> ComputedValuebptato2022-05-131-2/+2
| | | | Actually it's neither but ComputedValue is more accurate.
* Rename conflicting source filesbptato2022-05-101-2/+2
| | | | Nim can't really differentiate between them, unfortunately.
* Fix stylesheet containment bugbptato2022-01-251-32/+35
|
* Fix author style sheet assignmentbptato2022-01-241-2/+9
|
* Optimize cascading algorithmbptato2022-01-241-61/+27
|
* Refactorbptato2022-01-241-1/+1
|
* Fix ::before pseudo elem positioningbptato2022-01-231-4/+7
|
* Support external stylesheetsbptato2022-01-231-1/+12
|
* Avoid unnecessary rendering on hover change etcbptato2022-01-221-4/+24
|
* Re-implement, height, fix pseudo on hoverbptato2022-01-221-0/+2
|
* Fix media query bug, do not refresh page without css change (wip)bptato2022-01-221-2/+2
|
* Re-implement inline blocksbptato2022-01-191-5/+1
|
* Fix crash on reshapebptato2022-01-191-2/+0
|
* Implement basics of new layout enginebptato2022-01-181-5/+19
|
* Small cascade optimizationsbptato2021-12-311-30/+22
|
* Cascade optimizations, start layout engine rewritebptato2021-12-291-8/+16
|
* Implement basic media query supportbptato2021-12-271-15/+57
|
* Preparation for at rules, small inline-block fixbptato2021-12-191-13/+16
|