about summary refs log tree commit diff stats
path: root/src/layout/box.nim
Commit message (Collapse)AuthorAgeFilesLines
* layout/engine: clean up shrink attributebptato2022-12-161-4/+0
|
* layout/engine: fix a <br> bug that ate inline boxes, add broken ↵bptato2022-12-161-1/+5
| | | | | | | | | 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.
* Add border-collapse, border-spacing; fix fd sending hackbptato2022-12-111-0/+3
| | | | | | 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.
* Support vertical-align on tdbptato2022-12-111-1/+1
|
* Implement a proper table layoutbptato2022-12-111-3/+10
|
* Table layout improvementsbptato2022-12-111-1/+1
|
* Add multiple text-decoration, overline emulationbptato2022-12-071-1/+1
|
* Remove unused BlockBox attributebptato2022-12-071-1/+0
|
* Fix table cell reflowbptato2022-12-071-2/+4
| | | | (still not perfect...)
* Table changesbptato2022-12-061-1/+0
| | | | mostly failed attempts to improve the table layout
* Add position css property, inline block fixesbptato2022-11-281-2/+3
| | | | | 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-1/+6
|
* Table improvementsbptato2022-11-221-3/+4
|
* Table fixes wipbptato2022-11-221-3/+10
|
* Terminal refactoringsbptato2022-11-201-2/+2
|
* Fix table cell size calculationbptato2022-11-191-2/+1
|
* Very much WIP table implementationbptato2022-11-151-0/+2
|
* Work on tablesbptato2022-08-181-0/+7
|
* More table workbptato2022-07-301-1/+3
|
* Fix StyledNode invalidation & othersbptato2022-07-271-5/+8
|
* Fix & simplify blockgroupbptato2022-07-251-0/+6
| | | | + start implementing table
* MarkerBoxBuilder: get rid of ordinalvaluebptato2022-07-251-1/+0
|
* Refactor some layout engine types, fix list-itembptato2022-07-201-16/+6
|
* Clean up vertical line box alignment codebptato2022-07-201-3/+9
| | | | | | 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 basic list displaybptato2022-07-151-0/+1
|
* Refactor layout enginebptato2022-07-151-7/+48
|
* specified -> computedbptato2022-06-181-2/+2
| | | | Continuing commit 7e65add
* Re-implement list itemsbptato2022-06-171-7/+13
| | | | Now with proper list-style-position: outside support!
* Re-implement inline-blockbptato2022-06-171-5/+2
| | | | | Still far from standard-compliant, or even non-broken... but it's something
* Simplify offset, fix a text node bugbptato2022-06-081-23/+2
|
* Layout: insignificant changes regarding offsetbptato2022-05-291-2/+25
|
* SpecifiedValue -> ComputedValuebptato2022-05-131-2/+2
| | | | Actually it's neither but ComputedValue is more accurate.
* Some refactoring for layout engine rewritebptato2022-05-101-21/+18
|
* Background color improvementsbptato2022-02-151-1/+9
|
* Implement list-style-positionbptato2022-01-301-0/+3
|
* Implement formsbptato2022-01-291-1/+2
| | | | | | 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-1/+4
|
* Implement line-height, vertical-alignbptato2022-01-281-1/+3
|
* Implement paddingbptato2022-01-261-5/+15
|
* Fix whitespace stylingbptato2022-01-261-0/+3
|
* Fix node to cell mapping part 2bptato2022-01-241-1/+0
|
* Fix node to cell mappingbptato2022-01-241-4/+3
|
* Fix some block box bugsbptato2022-01-231-0/+2
|
* Use pixels as the base unit for the layoutbptato2022-01-231-13/+0
|
* Implement word-spacingbptato2022-01-231-0/+1
|
* Avoid unnecessary rendering on hover change etcbptato2022-01-221-0/+2
|
* Fix page navigationbptato2022-01-221-4/+9
|
* Re-implement marginsbptato2022-01-221-5/+2
|
* Re-implement list itemsbptato2022-01-191-1/+1
|
* Make sure :root is always blockbptato2022-01-191-1/+0
|