ladybird/Base/res
Andreas Kling 80ce0419b6 LibWeb: Fix abspos flex container with height:auto getting zero height
When laying out abspos boxes, we compute the height twice: before and
after the inside of the box has been laid out.

The first pass allows percentage vertical values inside the box to be
resolved against the box's height. The second pass resolves the final
used value for the height of the box itself.

In cases where the box height depends on the results of inside layout,
we were incorrectly setting the box to having a definite zero height.
This led to incorrect results when sizing an abspos flex container,
since the FFC sizes containers (in row layouts) based on whether the
container has a definite height.

To avoid this problem, this patch adds an enum so we can differentiate
between the two abspos height computation passes. If the first pass
discovers a dependency on the inside layout, we simply bail out of
computing the height, leaving it as indefinite. This allows the FFC
to size its container correctly, and the correct height gets set by
the second pass.
2023-01-06 21:12:55 +01:00
..
apps Screensaver: Add a screensaver launcher application 2023-01-03 17:56:55 +01:00
color-palettes Base: Add pastel color palette 2022-02-10 10:22:17 +00:00
color-schemes Everywhere: Move Base/res/terminal-colors to Base/res/color-schemes 2022-12-31 04:20:59 -07:00
cursor-themes Base: Remove an upscaled version of a Hidden cursor 2022-09-01 14:27:07 +01:00
devel/templates HackStudio: Fix cpp-gui template 2022-09-01 14:25:31 +01:00
emoji Base: Add 8 new emoji and improve consistency on one more 2023-01-01 18:42:29 -05:00
fonts Base: Add U+2264 and U+2265 to Katica Regular 12 2022-10-29 18:54:08 +01:00
graphics MouseSettings: Update "switch buttons" icon to reflect checkbox state 2022-12-30 09:20:42 -05:00
html LibWeb: Fix abspos flex container with height:auto getting zero height 2023-01-06 21:12:55 +01:00
icons Demos: Remove "Cube" application 2023-01-03 15:43:10 +01:00
js/Spreadsheet Spreadsheet: Fix maxIf and minIf name in documentation 2022-10-29 06:29:11 +03:30
keymaps Keymaps: Add Arabic keymap 2022-11-13 17:51:52 -07:00
themes Themes: Add color schemes to all themes 2022-12-31 04:20:59 -07:00
wallpapers Base: Add back the OG grid wallpaper from back in the day, now as a PNG 2020-04-30 12:31:02 +02:00
fortunes.json Base: Unquote the timestamp in a quote 2022-12-22 14:13:47 +00:00
words.txt Games: Add MasterWord 2022-03-18 04:55:21 -07:00