about summary refs log tree commit diff stats
path: root/src/layout/engine.nim
Commit message (Collapse)AuthorAgeFilesLines
* Use StyledNodes instead of passing the entire DOM to the layout enginebptato2022-07-161-112/+45
| | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching.
* Fix basic list displaybptato2022-07-151-16/+20
|
* Refactor layout enginebptato2022-07-151-130/+104
|
* Fix a tokenizer bug, clean up some warningsbptato2022-07-121-11/+1
|
* Implement HTML5 parsingbptato2022-07-111-1/+1
| | | | | | | 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.
* specified -> computedbptato2022-06-181-116/+116
| | | | Continuing commit 7e65add
* Apply inline dimensions for inline blocks toobptato2022-06-181-6/+7
|
* Fix height being incorrectly applied to list itemsbptato2022-06-171-3/+8
|
* Re-implement list itemsbptato2022-06-171-58/+90
| | | | Now with proper list-style-position: outside support!
* Re-implement inline-blockbptato2022-06-171-82/+114
| | | | | Still far from standard-compliant, or even non-broken... but it's something
* Simplify offset, fix a text node bugbptato2022-06-081-14/+9
|
* Layout: insignificant changes regarding offsetbptato2022-05-291-3/+8
|
* SpecifiedValue -> ComputedValuebptato2022-05-131-28/+28
| | | | Actually it's neither but ComputedValue is more accurate.
* Some refactoring for layout engine rewritebptato2022-05-101-270/+249
|
* Background color improvementsbptato2022-02-151-12/+17
|
* Fix list item marker hackbptato2022-02-121-4/+8
|
* Implement list-style-positionbptato2022-01-301-3/+49
|
* Implement formsbptato2022-01-291-33/+52
| | | | | | Note: for now, only input tags are supported. Also the implementation is extremely hacky and needs refactoring... But it works, I think.
* Implement text-align and <center>bptato2022-01-291-47/+116
|
* Implement line-height, vertical-alignbptato2022-01-281-49/+114
|
* Implement paddingbptato2022-01-261-22/+80
|
* Fix whitespace stylingbptato2022-01-261-2/+6
|
* Remove some unused declarationsbptato2022-01-241-2/+0
|
* Fix node to cell mapping part 2bptato2022-01-241-3/+0
|
* Fix node to cell mappingbptato2022-01-241-18/+6
|
* Fix some block box bugsbptato2022-01-231-30/+42
|
* Fix incorrect canvas width and whitespace bugsbptato2022-01-231-2/+5
|
* Use pixels as the base unit for the layoutbptato2022-01-231-29/+49
|
* Consider cell ratio when calculating lengthsbptato2022-01-231-1/+1
|
* Implement word-spacingbptato2022-01-231-21/+33
|
* Fix ::before pseudo elem positioningbptato2022-01-231-14/+19
|
* Avoid unnecessary rendering on hover change etcbptato2022-01-221-14/+42
|
* Re-implement, height, fix pseudo on hoverbptato2022-01-221-4/+14
|
* Fix word overflow bugbptato2022-01-221-1/+1
|
* Fix page navigationbptato2022-01-221-18/+39
|
* Throw out old layout engine codebptato2022-01-221-477/+0
|
* Re-implement marginsbptato2022-01-221-35/+85
|
* Re-implement list itemsbptato2022-01-191-2/+18
|
* Make sure :root is always blockbptato2022-01-191-5/+11
|
* Fix whitespace issues after newlinebptato2022-01-191-11/+9
|
* Replace BoxType with CSSDisplaybptato2022-01-191-19/+17
| | | | They're the same thing.
* Rewrite whitespace handlingbptato2022-01-191-116/+94
|
* Re-implement inline blocksbptato2022-01-191-26/+54
|
* Re-implement pseudo elementsbptato2022-01-191-11/+33
|
* Fix crash on reshapebptato2022-01-191-15/+16
|
* Implement basics of new layout enginebptato2022-01-181-61/+238
|
* Cascade optimizations, start layout engine rewritebptato2021-12-291-439/+578
|
* Implement basic media query supportbptato2021-12-271-4/+4
|
* Refactor buffer rendering proceduresbptato2021-12-231-0/+5
|
* Prepare for layout engine rewritebptato2021-12-211-9/+9
|