about summary refs log tree commit diff stats
path: root/test/layout/inline-backgrounds.color.expected
Commit message (Collapse)AuthorAgeFilesLines
* layout: unify BlockBox and InlineBox, refactor buildingbptato2025-02-071-1/+1
| | | | | | | | | | | | | | * normalize flow baseline computation * fix various margin collapsing bugs * eliminate inlineStack * eliminate push* * derive BlockBox and InlineBox from CSSBox This removes a pointer from BlockBox, and adds a pointer to both BlockBox and InlineBox (type field). A net loss, but it makes the code more manageable. Plus, inline groups now need one less allocation, so overall it's not that bad.
* layout: do not generate anonymous inline boxesbptato2025-01-251-1/+1
| | | | | | | | | | | | | | | | Anonymous inline boxes were blocking progress on layout caching, so they are now gone. Instead, we handle them in layoutInline (which meanwhile has spaghettified to beyond comprehension... now it's a special case of inner BlockBox (kind of?) - incredibly, it still passes tests :P) This seems to match what major browsers do as well; some test cases were updated to reflect the "improved" rendering this brings. Next I'd like to remove anonymous table boxes by generating them in cascade. Then it should be straightforward enough to at least reuse flow roots on relayout. (And clean up flow layout...)
* render: blend in paintBackgroundbptato2025-01-211-1/+0
| | | | | | | It's an improvement, but the painting order still isn't quite right... Also fixes a bug where paintBackground would unnecessarily append an extra line to the document's end.
* layout: fix wrong padding offsetsbptato2024-09-271-0/+3
| | | | + some misc refactorings
* layout: fix text-align + padding coloringbptato2024-06-291-1/+1
|
* test: inline-backgrounds updatebptato2024-05-211-2/+0
| | | | Both outputs suck, but it probably doesn't matter much.
* test: add js & layout testsbptato2024-04-211-0/+30
(Sadly some layout tests still fail.)