1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Tests
InvalidUsernameException 1d0cfdc839 LibWeb: Consider margins during fit-content sizing in BFC
`BlockFormattingContext::compute_width()` stores the left and right
margins in the layout state at the very end of the function. However,
before doing so, it calls `FormattingContext::calculate_inner_width()`
which ends up calling `FormattingContext::calculate_stretch_fit_width()`
if the current box has `width: fit-content`.

Due to this, `calculate_stretch_fit_width()` would always see the
margins from the layout state as zero and therefore not take them into
account. Subsequently, the calculated width ended up being wrong.

Saving margins on the layout state earlier, before calling
`calculate_inner_width()`, makes sure that the width is calculated
correctly.
2025-06-05 17:56:19 +02:00
..
AK AK: Add initial support for AK testsuite on Windows 2025-05-20 10:58:43 -06:00
ClangPlugins Everywhere: Format all python files with black 2025-05-22 16:21:42 +02:00
LibCompress LibCompress: Refactor deflate de/compressor using zlib 2025-03-19 13:46:50 +01:00
LibCore Tests: Re-enable TestLibCoreMappedFile and TestLibCoreStream 2025-05-27 20:34:47 -06:00
LibCrypto LibCrypto: Replace {Unsigned,Signed}BigInteger impl with LibTomMath 2025-05-23 11:57:21 +02:00
LibDiff
LibDNS LibDNS: Ensure non-blocking socket is used for TCP connections 2025-02-22 18:39:58 +01:00
LibGC LibGC+LibWeb+LibJS: Remove workaround for Swift boolean bitfield issue 2025-04-04 13:06:53 -06:00
LibGfx Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
LibJS LibJS+LibUnicode: Change time zones in a way that works on Windows 2025-06-01 18:48:58 -04:00
LibMedia
LibRegex LibRegex: Fix handling of + quantifier with zero-width matches 2025-06-02 15:52:26 +02:00
LibTest LibTest: Support death tests without child process cloning 2025-05-16 13:23:32 -06:00
LibTextCodec AK+LibTextCodec: Stop using Utf16View endianness override 2025-04-16 10:04:50 +02:00
LibThreading
LibTLS LibTLS+Tests: Build LibTLS tests from their test directory 2025-05-19 18:37:15 -04:00
LibUnicode LibJS+LibUnicode: Change time zones in a way that works on Windows 2025-06-01 18:48:58 -04:00
LibURL Tests/LibURL: Port to Windows 2025-06-01 16:42:19 -06:00
LibWasm Tests: Move test-wasm build rules to Tests/LibWasm 2025-05-19 18:37:15 -04:00
LibWeb LibWeb: Consider margins during fit-content sizing in BFC 2025-06-05 17:56:19 +02:00
LibWebView LibWebView: Do not use AK::format to format search engine URLs 2025-04-06 13:45:10 +02:00
LibXML LibTest: Support death tests without child process cloning 2025-05-16 13:23:32 -06:00
Resources
CMakeLists.txt Tests/LibURL: Port to Windows 2025-06-01 16:42:19 -06:00