Fix macOS tests (it was a driver bug ¬¬)

This commit is contained in:
Martín Lucas Golini
2026-05-16 14:18:46 -03:00
parent 3dadd58ce1
commit acc27edd8a
3 changed files with 11 additions and 785 deletions
+3
View File
@@ -126,6 +126,9 @@ UTEST( UIHTMLTable, complexLayout2 ) {
sceneNode->setURI( "file://" + Sys::getProcessPath() + "assets/html/" );
std::string html;
FileSystem::fileGet( "assets/html/hn_threaded_test.html", html );
// Keep this fixture close to the captured viewport. Apple Software Renderer drops the
// large offscreen solid-background quad if the original full HN thread is used, even
// though GPU renderers and other software renderers rasterize it correctly.
sceneNode->loadLayoutFromString( HTMLFormatter::HTMLtoXML( html ) );
win->setClearColor( Color::White );