1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00
ladybird/Libraries/LibWeb
stasoid a6935299eb LibWeb: Correctly calculate static position rect when absolutely
positioned element is a descendant of inline-block

Sets inline block offsets in InlineFormattingContext.cpp, but this is
not enough. When static position rect is calculated during layout,
not all ancestors of abspos box may have their offsets calculated yet
(more info here: https://github.com/LadybirdBrowser/ladybird/pull/2583#issuecomment-2507140272).
So now static position rect is calculated relative to static containing
block during layout and calculation relative to actual containing block
is done later in
FormattingContext::layout_absolutely_positioned_element.

Fixes wpt/css/CSS2/abspos/static-inside-inline-block.html
2025-03-17 15:55:06 +01:00
..
Animations LibWeb: Skip animation invalidation for elements nested in display none 2025-03-09 00:06:13 +01:00
ARIA LibWeb: Sync AriaRoles.json w/ Characteristics data in current spec 2025-02-21 09:08:56 +00:00
Bindings LibWeb: Fire slotchange events when a slot is changed 2025-03-10 14:37:26 -04:00
Clipboard Everywhere: Replace miscellaneous references to the chrome process 2025-03-15 19:57:27 -04:00
Compression
ContentSecurityPolicy LibWeb: Delete FIXME debug log in PolicyList 2025-03-13 22:16:47 +01:00
Cookie
CredentialManagement LibWeb: Stub for Credential Management API 2025-02-05 13:18:47 -07:00
Crypto LibCrypto+LibWeb: Refactor AES implementation with OpenSSL 2025-03-02 15:11:38 +01:00
CSS LibWeb/CSS: Correct parsing of @supports selector() 2025-03-17 10:00:19 +00:00
DOM LibWeb: Stub out "focus-without-user-activation" feature policy 2025-03-14 20:33:25 +00:00
DOMURL LibWeb: Return OptionalNone from DOMURL::parse on failure 2025-01-22 12:33:55 +00:00
Editing LibWeb/Editing: Allow text-decoration-foo to be a CSSKeywordValue 2025-02-28 16:34:08 +00:00
Encoding LibWeb/Bindings: Support returning nullable types in dictionaries 2025-02-10 17:05:15 +00:00
EncryptedMediaExtensions LibWeb: Improve Enum generation in IDLGenerator 2025-03-04 16:35:04 +00:00
EntriesAPI
EventTiming
Fetch LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
FileAPI LibWeb: Implement FileReaderSync interface 2025-02-28 04:49:51 +00:00
Geometry LibWeb/CSS: Integrate ParsingContext into the Parser 2025-02-06 16:47:25 +00:00
HighResolutionTime LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
HTML LibWeb: Implement the HTMLLinkElement.sheet attribute 2025-03-17 14:47:20 +01:00
IndexedDB LibWeb/IDB: Implement IDBFactory::databases() 2025-03-14 08:54:39 +01:00
Infra
Internals LibWeb+LibWebView+WebContent: Remove the built-in Inspector 2025-03-15 19:09:40 +01:00
IntersectionObserver LibWeb/CSS: Integrate ParsingContext into the Parser 2025-02-06 16:47:25 +00:00
Layout LibWeb: Correctly calculate static position rect when absolutely 2025-03-17 15:55:06 +01:00
Loader LibWeb+WebContent: Remove "chrome" from generated page template strings 2025-03-15 19:57:27 -04:00
MathML LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
MediaCapabilitiesAPI LibWeb: Implement MediaCapabilities.decodingInfo() 2025-02-18 10:18:40 -07:00
MediaSourceExtensions LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
MimeSniff
MixedContent AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
NavigationTiming LibWeb: Return wall time from PerformanceTiming interface 2025-01-27 14:53:33 +01:00
Page LibWeb+UI: Rename ChromeInputData to BrowserInputData 2025-03-15 19:57:27 -04:00
Painting LibWeb: Invalidate text-decoration-thickness as paint-only property 2025-03-16 22:25:26 +01:00
PerformanceTimeline LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
PermissionsPolicy Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
Platform LibWeb: Protect audio codec callbacks against its own destruction 2025-03-14 12:02:29 -05:00
ReferrerPolicy
RequestIdleCallback
ResizeObserver AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
ResourceTiming LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
SecureContexts Everywhere: Use URL::about_XXX factory functions 2025-02-15 17:05:55 +00:00
Selection LibWeb: Only clear command states and values if range actually changed 2025-01-24 23:53:26 +01:00
ServiceWorker LibWeb/ServiceWorker: Use has_value for checking for invalid URL 2025-02-19 08:01:35 -05:00
SRI
StorageAPI LibWeb/Storage: Add a storage key getter that takes a URL::Origin 2025-01-21 19:22:07 +00:00
Streams LibWeb: Align ReadableByteStreamControllerEnqueue 2025-02-10 13:25:51 +00:00
SVG LibWeb: Bring back cache of intrinsic sizes across layout runs 2025-03-08 14:52:33 +01:00
TrustedTypes LibWeb: Update Document.write spec steps 2025-02-25 15:19:38 +01:00
UIEvents LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
URLPattern LibWeb/URLPattern: Implement IDL interface for URLPattern test and exec 2025-03-04 16:32:09 -05:00
UserTiming LibWeb: Report performance based timestamps relative to ESO time origin 2025-01-27 14:53:33 +01:00
WebAssembly
WebAudio LibWeb: Initialize AnalyserNode previous block at construction time 2025-02-13 20:31:37 +00:00
WebDriver AK+Everywhere: Convert JSON value serialization to String 2025-02-20 19:27:51 -05:00
WebGL LibWeb/WebGL2: Implement EXT_color_buffer_float extension 2025-03-06 12:59:28 +01:00
WebIDL LibWeb/IDB: Update convert_a_value_to_a_key to latest changes 2025-03-13 11:23:15 +01:00
WebSockets LibWeb: Don't close websocket if already closed in make_disappear() AO 2025-02-26 20:20:22 +01:00
WebVTT
Worker
XHR LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
XLink LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
XML LibXML: Associate prefixed elements with the correct namespace 2025-02-25 15:02:35 +01:00
CMakeLists.txt LibWeb: Implement generic boolean logic for media/supports queries 2025-03-17 10:00:19 +00:00
Dump.cpp LibWeb: Reduced number of recompiled files for CSS property headers 2025-02-23 10:14:39 -05:00
Dump.h
Forward.h LibWeb+LibWebView+WebContent: Remove the built-in Inspector 2025-03-15 19:09:40 +01:00
idl_files.cmake LibWeb+LibWebView+WebContent: Remove the built-in Inspector 2025-03-15 19:09:40 +01:00
InvalidateDisplayList.h
Namespace.cpp LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
Namespace.h LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
PixelUnits.cpp
PixelUnits.h LibWeb: Clamp layout content sizes to a max value instead of crashing 2025-02-05 18:28:55 +01:00
TraversalDecision.h
TraversalOrder.h
TreeNode.h LibWeb/DOM: Don't use recursion for subtree traversal in Node.h 2025-02-03 18:36:57 +01:00