about summary refs log tree commit diff stats
path: root/src/css/values.nim
Commit message (Collapse)AuthorAgeFilesLines
...
* css: fix some bugs and improve cascading a bitbptato2022-12-291-3/+21
|
* css/values: fix length shorthand handlingbptato2022-12-281-10/+15
|
* layout/engine: get rid of dom dependencybptato2022-12-271-4/+33
| | | | Layout should only depend on cascading.
* Fix broken css color function parsingbptato2022-12-251-31/+49
|
* css/values: fix some incorrectly accepted valuesbptato2022-12-211-18/+29
|
* Display text for img tag, background-imagebptato2022-12-161-12/+36
|
* layout/engine: fix a <br> bug that ate inline boxes, add broken ↵bptato2022-12-161-4/+32
| | | | | | | | | min-width/max-width min-width, max-width, min-height, max-height are mostly broken, because they aren't enforced on inline level. Though really the whole size calculation mechanism needs to be refactored, its current state is horrible.
* Make background-color non-inherited; fix {}= for CSSComputedValuesbptato2022-12-121-7/+8
|
* Add support for q, fix list-item counter behaviorbptato2022-12-121-20/+132
|
* Add border-collapse, border-spacing; fix fd sending hackbptato2022-12-111-9/+59
| | | | | | Note that they don't actually work correctly because of rounding errors. The fd sending hack now emits C directly. Let's hope this actually works.
* Add div alignbptato2022-12-111-1/+2
|
* Support vertical-align on tdbptato2022-12-111-3/+3
|
* Add caption-sidebptato2022-12-111-95/+119
|
* Add support for margin-left/right: autobptato2022-12-111-16/+70
|
* Fix blocking socketstream recv/send, clean up ips/serialize & types/colorbptato2022-12-101-3/+0
| | | | Write always blocks for now, as it's too big of a footgun not to
* css/values: better shorthand handlingbptato2022-12-081-102/+122
|
* Add multiple text-decoration, overline emulationbptato2022-12-071-12/+12
|
* Fix index error in parseDimensionValuesbptato2022-12-031-1/+1
|
* Fix initial values for left, right, top, bottombptato2022-11-291-1/+6
|
* Add position css property, inline block fixesbptato2022-11-281-3/+31
| | | | | More specifically, inline block white-space is no longer incorrectly determined by its computed values, but rather by its parent's values.
* Fix some table layout issuesbptato2022-11-251-14/+24
|
* Add some quirks mode rules + presentational hintsbptato2022-11-251-10/+13
| | | | Only as a POC for now.
* Table improvementsbptato2022-11-221-0/+23
|
* Color & term improvementsbptato2022-11-211-17/+4
|
* Terminal refactoringsbptato2022-11-201-18/+18
|
* Fix table cell size calculationbptato2022-11-191-2/+2
|
* Very much WIP table implementationbptato2022-11-151-9/+9
|
* Fix nth-child bugs, rename select to matchbptato2022-08-231-2/+2
|
* More table workbptato2022-07-301-6/+7
|
* Implement revert valuebptato2022-07-301-190/+143
|
* Update CSS tokenizerbptato2022-07-291-24/+23
| | | | It was slightly outdated and in many places incorrect.
* Fix cascading bugs & performance issuesbptato2022-07-281-1/+1
|
* Fix StyledNode invalidation & othersbptato2022-07-271-1/+1
|
* Fix & simplify blockgroupbptato2022-07-251-1/+1
| | | | + start implementing table
* Throw out unused cells() functionsbptato2022-07-201-31/+0
| | | | | They were an artifact of the previous layout engine, and are not needed anymore.
* Use StyledNodes instead of passing the entire DOM to the layout enginebptato2022-07-161-3/+3
| | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching.
* SpecifiedValue -> ComputedValuebptato2022-05-131-32/+32
| | | | Actually it's neither but ComputedValue is more accurate.
* Rename conflicting source filesbptato2022-05-101-3/+3
| | | | Nim can't really differentiate between them, unfortunately.
* Some refactoring for layout engine rewritebptato2022-05-101-1/+1
|
* Incomplete background-color implementationbptato2022-02-141-5/+16
| | | | Has numerous flaws which will have to be corrected later.
* Implement list-style-positionbptato2022-01-301-3/+22
|
* Implement text-align and <center>bptato2022-01-291-3/+30
|
* Implement line-height, vertical-alignbptato2022-01-281-9/+64
|
* Remove some unused declarationsbptato2022-01-241-2/+0
|
* Refactorbptato2022-01-241-3/+1
|
* Use pixels as the base unit for the layoutbptato2022-01-231-0/+32
|
* Consider cell ratio when calculating lengthsbptato2022-01-231-8/+11
|
* Implement word-spacingbptato2022-01-231-7/+23
|
* Avoid unnecessary rendering on hover change etcbptato2022-01-221-14/+27
|
* Fix media query bug, do not refresh page without css change (wip)bptato2022-01-221-11/+15
|