about summary refs log tree commit diff stats
path: root/src/layout/engine.nim
Commit message (Collapse)AuthorAgeFilesLines
* layout/engine: clean up shrink attributebptato2022-12-161-54/+69
|
* layout/engine: fix a <br> bug that ate inline boxes, add broken ↵bptato2022-12-161-10/+50
| | | | | | | | | 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.
* Fix tab width in prebptato2022-12-151-0/+2
|
* Make background-color non-inherited; fix {}= for CSSComputedValuesbptato2022-12-121-17/+11
|
* Add support for q, fix list-item counter behaviorbptato2022-12-121-49/+100
|
* layout/engine: fix wrap on pre-wrap (instead of pre-line)bptato2022-12-111-1/+1
|
* Add border-collapse, border-spacing; fix fd sending hackbptato2022-12-111-7/+24
| | | | | | 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-9/+18
|
* Support vertical-align on tdbptato2022-12-111-18/+40
|
* Add caption-sidebptato2022-12-111-9/+32
|
* Implement a proper table layoutbptato2022-12-111-27/+99
|
* Table layout improvementsbptato2022-12-111-6/+28
|
* Add support for margin-left/right: autobptato2022-12-111-1/+17
|
* Note on table layout + accept inline-table in iflushbptato2022-12-071-1/+3
|
* Fix table cell reflowbptato2022-12-071-52/+33
| | | | (still not perfect...)
* Table changesbptato2022-12-061-15/+25
| | | | mostly failed attempts to improve the table layout
* Hacky inline-table implementationbptato2022-12-051-2/+45
|
* layout: clean up previously rendered root boxesbptato2022-11-301-0/+1
|
* Add missing iflush call, add experimental line height error correctionbptato2022-11-291-0/+1
| | | | It kind of works, I guess?
* Add position css property, inline block fixesbptato2022-11-281-104/+184
| | | | | More specifically, inline block white-space is no longer incorrectly determined by its computed values, but rather by its parent's values.
* Fix some regressions, add loading progress barbptato2022-11-271-5/+3
|
* Fix some table layout issuesbptato2022-11-251-172/+232
|
* Add some quirks mode rules + presentational hintsbptato2022-11-251-0/+6
| | | | Only as a POC for now.
* Fix misc bugsbptato2022-11-251-6/+6
|
* Fix typobptato2022-11-251-2/+2
|
* Table improvementsbptato2022-11-221-34/+54
|
* Table fixes wipbptato2022-11-221-46/+51
|
* Terminal refactoringsbptato2022-11-201-5/+5
|
* Fix table cell size calculationbptato2022-11-191-32/+39
|
* Fix incorrect fit-to-shrink heuristicsbptato2022-11-151-1/+5
| | | | No guarantees that it's correct now...
* Very much WIP table implementationbptato2022-11-151-10/+102
|
* 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
|