1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries
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
..
LibCompress LibCompress: Refactor deflate de/compressor using zlib 2025-03-19 13:46:50 +01:00
LibCore LibCore: Recognize filenames .shellrc and CMakeLists.txt as text 2025-05-26 14:23:43 -06:00
LibCrypto LibCrypto: Forward declare tommath types properly on Windows 2025-05-29 03:26:23 -06:00
LibDevTools LibDevTools+LibWebView+WebContent: Report exceptions to DevTools 2025-03-27 14:14:02 +00:00
LibDiff LibDiff: Remove a bunch of unused code 2025-05-13 12:46:34 +02:00
LibDNS Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
LibFileSystem AK+LibCore: Avoid double-negation of syscall error values 2025-05-10 21:19:46 -04:00
LibGC LibGC: Add the minimum export macros required to link LibJS 2025-05-29 03:26:23 -06:00
LibGfx LibGfx+LibWeb: Update definitions of supported font formats and features 2025-06-05 12:10:29 +01:00
LibHTTP LibURL: Rename 'cannot have a base URL' to 'has an opaque path' 2025-04-06 08:24:54 -04:00
LibIDL Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
LibImageDecoderClient Everywhere: Make TransportSocket non-movable 2025-04-09 15:27:52 +02:00
LibIPC LibIPC: Chunk sent file descriptors by MAX_TRANSFER_FDS 2025-05-24 19:15:06 +03:00
LibJS LibJS: Make array_like_size() non-virtual in IndexedPropertyStorage 2025-06-05 03:43:43 +02:00
LibLine Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
LibMain
LibMedia LibMedia: Use a simple locked vector to handle audio commands on macOS 2025-05-25 08:45:50 -04:00
LibRegex LibRegex: Fix handling of + quantifier with zero-width matches 2025-06-02 15:52:26 +02:00
LibRequests Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
LibRIFF
LibSyntax
LibTest AK: Add initial support for AK testsuite on Windows 2025-05-20 10:58:43 -06:00
LibTextCodec Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
LibThreading Everywhere: Fix trivial -Wunnecessary-virtual-specifier instances 2025-05-12 11:40:45 -06:00
LibTLS LibTLS+Tests: Build LibTLS tests from their test directory 2025-05-19 18:37:15 -04:00
LibUnicode LibJS+LibUnicode: Support ambiguous time zone transitions 2025-06-03 09:09:21 +12:00
LibURL LibURL: Add FIXME's for testing equality of opaque origins 2025-05-24 09:51:44 -04:00
LibWasm LibWasm: Quit early in memory_fill if store_to_memory traps 2025-05-22 07:35:58 +01:00
LibWeb LibWeb: Consider margins during fit-content sizing in BFC 2025-06-05 17:56:19 +02:00
LibWebSocket LibWebSocket: Remove meaningless const&& Message constructor 2025-03-09 11:14:20 -04:00
LibWebView LibWebView: Do not make the client bitmap shareable for screenshots 2025-05-29 16:24:08 -04:00
LibXML Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
CMakeLists.txt Libraries/Utilities/Tests: Build and test js.exe 2025-05-29 03:26:23 -06:00