diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-25 17:33:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-25 19:41:31 +0100 |
commit | b3b9ac62011d971ad9fb24b5a78297e9c10d9224 (patch) | |
tree | 01e88d71d045c105e333d28dcaa3d5d08581f6f4 /Documentation | |
parent | 4bf10674fad03dee16447aca113efc66c2039de1 (diff) | |
download | serenity-b3b9ac62011d971ad9fb24b5a78297e9c10d9224.zip |
LibWeb: Add FIXME whining to debug log if layout produces negative sizes
Negative width/height sizes are not allowed in CSS, so if our layout
algorithm resolves something to a negative size, we have boogs.
Instead of crashing or rendering something very wrong, we now clamp the
values to 0 and whine on the debug log so that someone can go and figure
out how we got the negative values in the first place. :^)
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions