serenity/Userland/Libraries
Mathis Wiehl ab4cf7c57d LibWeb: Don't overflow flex containers on margin auto
In case flex items had `margin: auto` on the primary flex axis, we were
still also distributing remaining space according to `justify-content`
rules. This lead to duplicated spacing in various places and overflows.

It looks like this issue was observed previously but missidentified
because there was logic to ignore margins at the start and end which
would partially paper over the root cause. However this created other
bugs (like for example not having a margin at beginning and end ;-)) and
I can find nothing in the spec or other browser behaviour that indicates
that this is something that should be done.

Now we skip justify-content space distribution alltogether if it has
already been distributed to auto margins.
2023-03-11 10:46:21 +01:00
..
LibArchive
LibAudio LibAudio: Include missing AK/Stream.h in Loader.h 2023-03-10 11:44:11 -07:00
LibC
LibCards
LibChess
LibCMake Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibCodeComprehension
LibCompress
LibConfig
LibCore Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibCoredump
LibCpp
LibCrypt
LibCrypto
LibDebug
LibDesktop
LibDeviceTree
LibDiff
LibDNS
LibDSP
LibEDID
LibELF
LibFileSystemAccessClient
LibGemini AK: Remove infallible version of StringBuilder::to_byte_buffer 2023-03-09 15:51:00 +00:00
LibGfx LibGfx/JPEG: Support RGB JPEGs 2023-03-10 22:22:36 +01:00
LibGL AK: Remove infallible version of StringBuilder::to_byte_buffer 2023-03-09 15:51:00 +00:00
LibGLSL
LibGPU
LibGUI AK: Remove infallible version of StringBuilder::to_byte_buffer 2023-03-09 15:51:00 +00:00
LibHTTP Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibIDL Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibImageDecoderClient
LibIMAP Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibIPC
LibJS Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibKeyboard
LibLine Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibLocale
LibMain
LibManual
LibMarkdown
LibPartition
LibPCIDB
LibPDF
LibProtocol
LibRegex Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibSanitizer
LibSoftGPU
LibSQL Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibSymbolication
LibSyntax LibCMake+LibSyntax: Add a CMakeCache.txt syntax highlighter 2023-03-08 14:21:37 +00:00
LibSystem
LibTest LibTest: Add option to run each benchmark several times 2023-03-09 21:20:44 +01:00
LibTextCodec Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibThreading
LibTimeZone Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibTLS
LibUnicode AK+LibUnicode: Implement String::equals_ignoring_case without allocating 2023-03-08 18:57:53 +00:00
LibUSBDB
LibVideo
LibVirtGPU
LibVT
LibWasm
LibWeb LibWeb: Don't overflow flex containers on margin auto 2023-03-11 10:46:21 +01:00
LibWebSocket Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
LibWebView
LibX86
LibXML Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
CMakeLists.txt