1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

LibWeb: Fix building of areas spanning multiple rows in GFC

Rewrites the grid area building to accurately identify areas that span
multiple rows. Also now we can recognize invalid areas but do not
handle them yet.
This commit is contained in:
Aliaksandr Kalenik 2023-10-22 18:48:35 +02:00 committed by Andreas Kling
parent 8eab44896a
commit 122d847720
8 changed files with 194 additions and 24 deletions

View file

@ -142,6 +142,7 @@ private:
size_t row_end { 1 };
size_t column_start { 0 };
size_t column_end { 1 };
bool invalid { false }; /* FIXME: Ignore ignore invalid areas during layout */
};
HashMap<String, GridArea> m_grid_areas;