about summary refs log tree commit diff stats
path: root/src/layout/engine.nim
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge functional and normal pseudo-class selectorsbptato2022-08-211-1/+1
| | | | And parse An+B syntax for nth-child/nth-last-child.
* Work on tablesbptato2022-08-181-6/+52
|
* More table workbptato2022-07-301-26/+73
|
* Fix cascading bugs & performance issuesbptato2022-07-281-30/+32
|
* Fix StyledNode invalidation & othersbptato2022-07-271-22/+80
|
* Fix & simplify blockgroupbptato2022-07-251-21/+44
| | | | + start implementing table
* layout: update commentbptato2022-07-251-1/+0
|
* MarkerBoxBuilder: get rid of ordinalvaluebptato2022-07-251-3/+1
|
* Inline atom x position cleanupbptato2022-07-251-5/+3
|
* Incremental search fixesbptato2022-07-251-1/+0
|
* Fix inline block width calculationbptato2022-07-221-2/+5
|
* Refactor some layout engine types, fix list-itembptato2022-07-201-63/+70
|
* Throw out unused cells() functionsbptato2022-07-201-18/+2
| | | | | They were an artifact of the previous layout engine, and are not needed anymore.
* Clean up vertical line box alignment codebptato2022-07-201-92/+152
| | | | | | This fixes the non-standard alignment of inline blocks. While we're at it, renamed "inline rows" to line boxes, as that's pretty much what they are now.
* Fix list-item counter displaybptato2022-07-181-8/+4
|
* Enable remote stylesheets; fix inline block valuesbptato2022-07-181-1/+1
|
* Fix a parser bugbptato2022-07-171-7/+0
| | | | Plus a few warnings.
* Fix formsbptato2022-07-171-5/+3
|
* Fix StyledNode cachingbptato2022-07-171-1/+1
|
* 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
|