Initial implementation to support rendering text nodes as anonymous flex items. This does not support wrapping yet.

This commit is contained in:
Martín Lucas Golini
2026-05-30 02:37:22 -03:00
parent 4cd645a411
commit 8be05aabdd
5 changed files with 269 additions and 4 deletions

View File

@@ -2547,7 +2547,6 @@ UTEST( UIHTML, BodyHeightMiscalculationFixture ) {
// .links should be at the right side of .wrap, NOT next to .brand.
Float wrapW = wrapWidget->getPixelsSize().getWidth();
Float linksW = linksWidget->getPixelsSize().getWidth();
Float linksRight = linksWidget->getPixelsPosition().x + linksW;
EXPECT_GT( linksWidget->getPixelsPosition().x, wrapW * 0.5f );
// .links should NOT occupy all available width — it must be content-sized.