diff options
author | Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 2023-05-14 15:23:39 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-14 18:18:31 +0200 |
commit | 7a5603052a3ed21f6830fbce396deb1555259c8a (patch) | |
tree | a40760f08f3ed0a35b3f5d6e3290583d88d1ae6b /Tests/LibWeb/Layout/input | |
parent | 8bacd569ff37c34787545536337527f77e0e680b (diff) | |
download | serenity-7a5603052a3ed21f6830fbce396deb1555259c8a.zip |
LibWeb: Separate grid tracks from gaps in GFC
This change is supposed to solve the problem that currenty when grid
tracks are interleaved with gaps it is impossible to iterate tracks
spanned by a specific grid item. There is a pair of functions:
gap_adjusted_row() and gap_adjusted_column() but they won't work
when it comes to items spanning > 1 track.
Separating gaps from tracks is going to make it possible to iterate
just tracks or both tracks and gaps when it is required. And now tracks
spanned by an item can be accessed by just index without doing any
additional math.
Diffstat (limited to 'Tests/LibWeb/Layout/input')
0 files changed, 0 insertions, 0 deletions