1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:47:35 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling 50d72f0d8c LibWeb: Handle case where abspos flex child position depends on height
There's a particularly awkward case where the static position of an
abspos child of a flex container is dependent on its height. This can
happen when `align-items: center` is in effect, as we have to adjust
the abspos child's Y position by half of its height.

This patch solves the issue by reordering operations in the abspos
height resolution algorithm, to make sure that height is resolved
before the static position is calculated.
2023-09-03 15:44:47 +02:00
..
ARIA Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Bindings LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Cookie Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Crypto LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
CSS LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
DOM LibWeb: Add Optional<String> overload for Element::set_attribute 2023-09-02 19:23:41 +01:00
DOMParsing LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Encoding LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Fetch LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
FileAPI LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Geometry LibWeb: Add DOMMatrix translate 2023-09-03 15:05:41 +02:00
HighResolutionTime LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
HTML LibWeb: Stub out HTMLDialogElement APIs 2023-09-03 07:51:11 +02:00
Infra LibJS: Make PrimitiveString::utf8_string() infallible 2023-08-09 17:09:16 +02:00
Internals LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
IntersectionObserver LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Layout LibWeb: Handle case where abspos flex child position depends on height 2023-09-03 15:44:47 +02:00
Loader LibWeb: Remove "LibWeb+LibJS/1.0" from the default User-Agent string 2023-08-24 07:14:51 +02:00
MathML LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
MimeSniff Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
NavigationTiming LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Page LibWeb: Add Optional<String> overload for Element::set_attribute 2023-09-02 19:23:41 +01:00
Painting LibWeb: Don't convert to floating point in CSS::EdgeRect 2023-09-01 09:40:14 +02:00
PerformanceTimeline LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform LibWeb: Don't send audio time updates until audio is playing 2023-09-02 19:36:09 -04:00
ReferrerPolicy AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
RequestIdleCallback LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
ResizeObserver LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibWeb: Implement releaseLock interface for ReadableStreamBYOBReader 2023-08-31 19:28:56 +02:00
SVG LibWeb: Add Optional<String> overload for Element::set_attribute 2023-09-02 19:23:41 +01:00
UIEvents LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
URL LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
UserTiming LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebAssembly LibWasm+LibWeb: Parse and validate all Wasm SIMD instructions 2023-08-21 13:39:32 +03:30
WebAudio LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebDriver LibWeb: Add missing promise rejection in execute_async_script 2023-08-21 13:22:04 -06:00
WebGL LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebIDL LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebSockets LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
XHR LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
XML LibWeb: Remove outdated old_queue_global_event_with_document 2023-08-28 12:57:05 +02:00
CMakeLists.txt LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
Dump.cpp LibWeb: Parse src: local(...) in CSS @font-face rules 2023-08-25 11:51:28 +02:00
Dump.h LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
FontCache.cpp LibWeb: Invalidate font cache when web fonts are downloaded 2023-08-24 22:07:00 +01:00
FontCache.h LibWeb: Invalidate font cache when web fonts are downloaded 2023-08-24 22:07:00 +01:00
Forward.h LibWeb: Add DOMPoint matrixTransform and DOMMatrix transformPoint 2023-09-01 20:58:13 +02:00
idl_files.cmake LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
Namespace.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
Namespace.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
PixelUnits.cpp LibWeb: Inline and constexpr most PixelUnits methods 2023-08-05 20:03:09 +02:00
PixelUnits.h LibWeb: Add a CSSPixelFraction class to allow comparison of fractions 2023-08-30 20:36:27 +02:00
TreeNode.h LibWeb: Remove all the unused functions from TreeNode 2023-08-20 05:02:59 +02:00