Aliaksandr Kalenik
3c73457b26
LibWeb: Implement CSS Grid dense packing and fix span placement
...
Implement the `dense` keyword for `grid-auto-flow` so auto-placed items
backfill earlier gaps in the grid. The sparse/dense cursor logic is now
centralized in `place_grid_items()` step 4: dense resets the cursor to
the grid start before each search, while sparse keeps advancing forward.
Also fix a pre-existing bug where `find_unoccupied_place()` and several
placement helpers only checked if a single cell was unoccupied, ignoring
multi-cell spans. Add `OccupationGrid::is_area_occupied()` and use it
throughout to correctly verify the entire rectangular area is available.
2026-02-16 20:00:17 +01:00
..
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-01-18 10:10:04 +01:00
2026-01-18 10:10:04 +01:00
2026-02-14 22:50:24 +01:00
2026-02-07 12:21:16 +01:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2025-08-29 18:18:55 +01:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-08 18:51:13 +01:00
2026-02-14 22:50:24 +01:00
2025-11-07 16:42:32 +01:00
2025-08-22 20:26:09 +02:00
2026-02-14 22:50:24 +01:00
2026-02-14 22:50:24 +01:00
2026-02-16 20:00:17 +01:00
2026-02-16 20:00:17 +01:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2025-11-28 18:32:48 +01:00
2025-11-05 09:11:49 +01:00
2026-02-14 16:23:18 -05:00
2026-02-14 16:23:18 -05:00
2026-02-14 16:23:18 -05:00
2026-01-12 11:00:14 +00:00
2025-09-22 15:00:50 +02:00
2025-07-28 22:46:27 +02:00
2026-02-15 17:47:30 +01:00
2026-02-14 18:44:50 +01:00
2026-02-08 18:51:13 +01:00
2026-02-08 18:51:13 +01:00
2025-06-13 15:08:26 +02:00
2025-09-12 15:34:09 -04:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2025-05-14 02:01:59 -06:00
2026-02-12 10:33:09 +00:00
2026-02-12 10:33:09 +00:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-16 12:09:23 +00:00
2026-02-11 10:49:34 +01:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2025-07-28 22:46:27 +02:00
2026-02-02 14:36:49 +00:00
2026-01-20 12:00:11 +01:00
2026-01-20 12:00:11 +01:00
2025-09-25 21:42:52 +02:00
2025-07-09 14:36:08 +02:00
2026-02-08 18:51:13 +01:00
2026-02-05 09:00:56 +01:00
2026-01-20 12:00:11 +01:00
2026-01-20 12:00:11 +01:00
2026-01-20 12:00:11 +01:00
2026-01-20 12:00:11 +01:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-14 22:50:24 +01:00
2026-02-03 14:47:51 +01:00
2025-11-30 11:48:14 +01:00
2025-12-24 14:10:27 +01:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-02 14:36:49 +00:00
2026-02-14 16:23:18 -05:00
2026-02-14 16:23:18 -05:00
2026-02-12 10:33:09 +00:00
2026-01-22 13:52:31 +00:00
2026-02-11 20:02:28 +01:00
2026-02-11 20:02:28 +01:00
2026-02-08 18:51:13 +01:00
2026-02-08 18:51:13 +01:00