ladybird/Tests/LibWeb
Aliaksandr Kalenik b3231ea2a0 LibWeb: Make foreignObject establish a containing block for abspos
Absolutely positioned elements inside SVG foreignObject were being
positioned relative to an ancestor containing block outside the SVG,
instead of relative to the foreignObject itself. Per a W3C resolution
and the behavior of other browsers, foreignObject should establish a
containing block for absolutely and fixed positioned elements.

With this fix, the `has_abspos_with_external_containing_block` check
in `set_needs_layout_update()` and the abspos preservation loop in
`relayout_svg_root()` become dead code — remove both and simplify the
ancestor loops. Rename related tests to reflect the new behavior.

Fixes https://github.com/LadybirdBrowser/ladybird/issues/3241
2026-02-17 15:59:59 +01:00
..
Assets LibWeb: Always respect font-variation-settings 2026-01-21 23:49:25 +01:00
Crash LibWeb: Absolutize parsed canvas filter value 2026-02-16 12:09:23 +00:00
Fixtures LibWeb: Decode Set-Cookie response headers before parsing 2026-02-03 07:20:41 -05:00
Layout LibWeb: Make foreignObject establish a containing block for abspos 2026-02-17 15:59:59 +01:00
Ref LibWeb: Pass through background image painting even if area is empty 2026-02-16 19:33:01 +01:00
Screenshot LibWeb: Always apply stroke-dasharray 2026-02-12 10:26:43 +00:00
test-web test-web: Always capture stdout/stderr and optionally tee output 2026-02-07 07:25:50 -05:00
Text LibWeb: Make foreignObject establish a containing block for abspos 2026-02-17 15:59:59 +01:00
add_libweb_test.py Tests/LibWeb: Add Crash test creation to add_libweb_test.py 2026-01-22 12:49:54 +01:00
CMakeLists.txt LibWeb/WebAudio: Implement control message queue 2026-01-16 15:58:43 +01:00
TestConfig.ini Tests/LibWeb: Skip Text/input/device-pixel-ratio-media-query.html 2026-02-06 12:36:38 -05:00
TestContentFilter.cpp Tests: Add some content filter tests 2025-12-09 11:25:28 +00:00
TestControlMessageQueue.cpp LibWeb/WebAudio: Add stable IDs to AudioNodes 2026-01-23 15:03:43 +01:00
TestCSSIDSpeed.cpp LibWeb: Rename "identifier" and "ValueID" to "Keyword" where correct 2024-08-15 13:58:38 +01:00
TestCSSInheritedProperty.cpp LibWeb/CSS: Remove PropertyID::Invalid 2025-09-30 15:21:09 +02:00
TestCSSPixels.cpp LibWeb: Remove rounding division for CSSPixels 2024-01-06 21:40:27 +01:00
TestCSSSyntaxParser.cpp LibWeb/CSS: Parse the CSS <syntax> type into a tree 2025-07-16 14:47:45 +01:00
TestCSSTokenStream.cpp LibWeb/CSS: Bring TokenStream in line with spec 2024-10-09 17:29:29 +01:00
TestFetchURL.cpp Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
TestHTMLTokenizer.cpp LibWeb: Explicitly disallow skipping 0 characters in HTML tokenizer 2025-11-06 10:59:54 +01:00
TestHTMLTokenizerSwift.swift LibWeb: Add remaining states to the Swift tokenizer 2024-11-15 10:51:45 -07:00
TestLibWebSwiftBindings.swift Tests: Use Swift.String extension instead of manual conversion 2024-10-14 16:55:09 -04:00
TestMicrosyntax.cpp LibWeb: Add test for week_number_of_the_last_day microsyntax 2023-12-11 14:04:27 -07:00
TestMimeSniff.cpp LibWeb/MimeSniff: Update Rar signature to match spec 2025-07-31 16:21:20 +02:00
TestNumbers.cpp LibWeb: Add “valid floating-point number” for HTMLInputElement.value 2024-08-28 07:49:17 -04:00
TestStrings.cpp LibWeb: Only use code unit length for is_code_unit_prefix 2025-05-12 11:20:32 +02:00
tokenizer-test.html