about summary refs log tree commit diff stats
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* Add support for visibilitybptato2023-06-071-21/+23
|
* Add display/output encodingbptato2023-05-191-0/+2
| | | | Some encodings are still missing
* Refactor config, add charset optsbptato2023-05-161-3/+30
| | | | Only document-charset supported for now.
* Working position: absolute, some other fixesbptato2023-05-131-8/+17
| | | | | | | | Fix margin-top being used instead of margin-bottom. Content width resolving makes somewhat more sense now. min-width, max-width doesn't completely break width calculation anymore. Finally, position: absolute is no longer implemented as a horribly broken hack.
* renderdocument: fix img positionbptato2023-04-121-5/+5
|
* renderdocument: fix failing assertionbptato2023-01-071-0/+8
| | | | | I'm not sure if it was actually causing other issues, but better safe than sorry: formatting is no longer inserted for negative x coordinates.
* css/values, parser, ...: fix background-imagebptato2023-01-061-24/+24
|
* layout/engine: fix non-inheritable values for inline boxbptato2023-01-061-4/+14
| | | | | Also, a hack for inline box background-color. It doesn't work very well, but good enough for now.
* renderdocument: add StyledNodes to backgroundsbptato2023-01-031-10/+17
| | | | | | This makes it possible to e.g. click on this: <a href=x style="display: inline-block; width: 5em; height: 5em; background-color: red"></a>
* renderdocument: fix crash for image textbptato2023-01-031-1/+2
| | | | We need to check if y >= 0, or it fails.
* rendertext: fix format position for non-asciibptato2023-01-011-1/+5
|
* layout/engine: table layout improvements, fix pre-wrap whitespacebptato2022-12-281-1/+1
| | | | | | | | Table layout: weight calculation is no longer broken. We use maxContentWidth for this, which the first pass of a non-specified table cell layout overrides. pre-wrap: just a minor fix - include it in whitespacepre, now that we have a distinction between pre and wrapping white-space
* rendertext: fix ansi escape regressionbptato2022-12-281-0/+1
|
* layout/engine: get rid of dom dependencybptato2022-12-271-1/+1
| | | | Layout should only depend on cascading.
* Proper support for tabsbptato2022-12-272-19/+5
|
* rendertext: fix tab widthbptato2022-12-271-8/+7
|
* rendertext: fix tab weirdnessbptato2022-12-251-10/+8
|
* Add unicode normalization, etcbptato2022-12-191-3/+0
|
* Display text for img tag, background-imagebptato2022-12-161-0/+12
|
* Remove obsolete renderPlainText procbptato2022-12-151-42/+0
|
* Fix console display bugs, add container.locationbptato2022-12-151-1/+6
|
* rendertext, color: fix escape codesbptato2022-12-141-0/+1
|
* renderdocument: fix another formatting bugbptato2022-12-121-3/+5
|
* renderdocument: fix overwriting formatcellsbptato2022-12-121-3/+10
| | | | Gets rid of weird underline effects. Also fixes nx calculation, I think.
* Fix decoder bugs, move decoder to encoding/bptato2022-12-101-1/+1
|
* Add support for the encoding standard, fix parseLegacyColorbptato2022-12-101-32/+43
| | | | Also, fix a bug in the
* Add multiple text-decoration, overline emulationbptato2022-12-071-5/+4
|
* Remove unused twtstr functionsbptato2022-12-051-2/+2
|
* Do not center error-corrected linesbptato2022-11-301-1/+1
| | | | It sounds like a good idea, but in fact looks terrible in lists.
* renderdocument: fix bug negative padwidth bugbptato2022-11-291-1/+8
| | | | padwidth could be negative because we didn't ensure cx <= x.
* Add missing iflush call, add experimental line height error correctionbptato2022-11-291-1/+14
| | | | It kind of works, I guess?
* 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 regressions, add loading progress barbptato2022-11-271-21/+31
|
* Fix some table layout issuesbptato2022-11-251-1/+1
|
* Add some quirks mode rules + presentational hintsbptato2022-11-251-1/+6
| | | | Only as a POC for now.
* Buffer improvementsbptato2022-11-251-11/+13
|
* Table fixes wipbptato2022-11-221-11/+0
|
* Fix tab renderingbptato2022-11-221-2/+20
|
* Terminal refactoringsbptato2022-11-201-28/+28
|
* Rewrite buffer/pager for multi-processingbptato2022-11-192-2/+2
|
* Very much WIP table implementationbptato2022-11-151-0/+11
|
* Fix renderdocument setText etc.bptato2022-08-021-81/+117
|
* Refactor some layout engine types, fix list-itembptato2022-07-201-8/+9
|
* Clean up vertical line box alignment codebptato2022-07-201-4/+4
| | | | | | 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.
* Use StyledNodes instead of passing the entire DOM to the layout enginebptato2022-07-161-7/+9
| | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching.
* Refactor layout enginebptato2022-07-151-2/+2
|
* specified -> computedbptato2022-06-181-2/+2
| | | | Continuing commit 7e65add
* Re-implement list itemsbptato2022-06-171-0/+4
| | | | Now with proper list-style-position: outside support!
* Re-implement inline-blockbptato2022-06-171-9/+7
| | | | | Still far from standard-compliant, or even non-broken... but it's something
* Simplify offset, fix a text node bugbptato2022-06-081-4/+4
|