ladybird/Tests
Aliaksandr Kalenik 863416e3ac LibWeb: Make FC of containing block responsible for abspos layout
Before this change, a formatting context was responsible for layout of
absolutely positioned boxes whose FC root box was their parent (either
directly or indirectly). This only worked correctly when the containing
block of the absolutely positioned child did not escape the FC root.
This is because the width and height of an absolutely positioned box are
resolved based on the size of its containing block, so we needed to
ensure that the containing block's layout was completed before laying
out an absolutely positioned box.

With this change, the layout of absolutely positioned boxes is delayed
until the FC responsible for the containing block's layout is complete.
This has affected the way we calculate the static position. It is no
longer possible to ask the FC for a box's static position, as this FC's
state might be gone by the time the layout for absolutely positioned
elements occurs. Instead, the "static position rectangle" (a concept
from the spec) is saved in the layout state, along with information on
how to align the box within this rectangle when its width and height are
resolved.
2024-09-12 07:36:32 +02:00
..
AK Everywhere: Convert from_string_view -> from_string_literal where static 2024-09-11 10:59:04 +01:00
ClangPlugins ClangPlugins: Add -Wno-unqualified-std-cast-call to test compile options 2024-08-26 17:24:53 -04:00
LibAudio Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCompress Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCore LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibCrypto LibCrypto: Move some data around earlier in GHash to make it go faster 2024-05-20 08:03:35 +02:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibGfx LibGfx: Rename Painter => DeprecatedPainter 2024-08-20 09:30:05 +02:00
LibJS LibJS+WebContent: Cache the resolved system time zone identifier 2024-09-03 19:26:04 +02:00
LibMedia Tests: Do not install LibMedia test files 2024-07-25 13:25:09 -06:00
LibRegex LibRegex: Account for extra explicit And/Or in class parser assertion 2024-03-24 08:24:46 +01:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Implement iso-2022-jp encoder 2024-08-08 17:49:58 +01:00
LibThreading LibThreading: ThreadPool deadlock test 2024-08-19 03:08:04 +02:00
LibTLS Revert "LibTLS+Everywhere: Switch to using WolfSSL" 2024-07-06 15:15:34 -06:00
LibUnicode LibUnicode: Remove unused emoji support methods 2024-09-06 15:42:33 -04:00
LibURL LibURL: Remove unspecified steps in URL file slash parsing state 2024-08-06 07:58:07 +01:00
LibWasm LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
LibWeb LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
LibWebView LibWebView: Allow data URLs in sanitize_url 2024-06-24 06:31:17 -04:00
LibXML LibXML: Actually append resolved references when parsing content 2023-07-23 16:09:12 +02:00
Resources Tests: Convert Swift tests to use Testing module where possible 2024-08-28 21:27:35 -06:00
CMakeLists.txt LibTimeZone: Remove LibTimeZone and TZDB data 2024-06-26 10:14:02 +02:00