ladybird/Libraries/LibWeb
Andreas Kling e068ff5a5d LibWeb: Always store ComputedProperties, even if no invalidations
Before this change, we'd skip storing the new ComputedProperties in
Element::recompute_style() if there was no invalidation needed.

This caused us to lose the information about which properties are
inherited and/or important (which is also carried by ComputedProperties,
but doesn't affect invalidation).

Consequently, we'd then fail to recompute inherited styles, since that
mechanism depends on this data.

The fix is simply to always store the new ComputedProperties.
2025-04-13 00:43:49 +02:00
..
Animations Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
ARIA LibWeb: Sync AriaRoles.json w/ Characteristics data in current spec 2025-02-21 09:08:56 +00:00
Bindings LibJS: Inline the fast path of Value::to_i32() and simplify to_u32() 2025-04-09 22:06:49 +02:00
Clipboard Everywhere: Replace miscellaneous references to the chrome process 2025-03-15 19:57:27 -04:00
Compression LibJS: Make Completion.[[Value]] non-optional 2025-04-05 11:20:26 +02:00
ContentSecurityPolicy AK+LibURL+LibWeb: Use simdutf to validate ASCII strings 2025-04-06 11:05:58 -04:00
Cookie Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
CredentialManagement LibWeb: Stub for Credential Management API 2025-02-05 13:18:47 -07:00
Crypto LibJS: Inline the fast path of Value::to_i32() and simplify to_u32() 2025-04-09 22:06:49 +02:00
CSS LibWeb: Invalidate sheet owners after mutating cssText of its rules 2025-04-12 14:15:57 +01:00
DOM LibWeb: Always store ComputedProperties, even if no invalidations 2025-04-13 00:43:49 +02:00
DOMURL LibURL: Rename 'cannot have a base URL' to 'has an opaque path' 2025-04-06 08:24:54 -04:00
Editing LibWeb: Return CSSStyleProperties as a GC::Ref 2025-03-19 13:53:00 +00:00
Encoding AK+Everywhere: Change StringView case conversions to return String 2025-04-07 17:44:38 +02:00
EncryptedMediaExtensions LibWeb: Improve Enum generation in IDLGenerator 2025-03-04 16:35:04 +00:00
EntriesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EventTiming LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
Fetch LibWeb: Support removing callbacks from AbortSignal 2025-04-11 12:10:46 -04:00
FileAPI LibJS: Make Completion.[[Value]] non-optional 2025-04-05 11:20:26 +02:00
Geometry LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
HighResolutionTime LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
HTML LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
IndexedDB LibWeb/IDB: Dont go back to inactive if we finished during upgrade 2025-04-10 19:12:30 -06:00
Infra LibJS: Use FlyString in PropertyKey instead of DeprecatedFlyString 2025-03-24 22:27:17 +00:00
Internals LibWeb+LibWebView+WebContent: Convert about:settings to a WebUI 2025-03-28 07:31:10 -04:00
IntersectionObserver LibWeb: Avoid allocating DOMRect objects for internal engine use 2025-03-22 14:33:59 -05:00
Layout LibWeb: Ignore negative margins for margin box rect 2025-04-11 02:34:28 +01:00
Loader LibURL+LibWeb: Remove leading slash when converting url to path 2025-04-10 19:04:21 -06:00
MathML LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
MediaCapabilitiesAPI LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
MediaSourceExtensions LibWeb: Pass along the init dictionary for error / buffer change events 2025-03-25 07:52:12 +00:00
MimeSniff Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
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: Correct some spec typos 2025-04-10 04:01:37 +02:00
Painting LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
PerformanceTimeline LibWeb: Implement Resource Timing 2025-03-06 09:00:53 -07:00
PermissionsPolicy LibWeb: Remove OOM handling from the AutoplayAllowlist 2025-03-30 16:18:57 +01:00
Platform LibWeb: Protect audio codec callbacks against its own destruction 2025-03-14 12:02:29 -05:00
ReferrerPolicy LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
RequestIdleCallback LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
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 LibJS: Make Completion.[[Value]] non-optional 2025-04-05 11:20:26 +02:00
SRI Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StorageAPI LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
Streams LibWeb: Implement ReadableStreamPipeTo according to spec 2025-04-11 12:10:46 -04:00
SVG LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
TrustedTypes LibWeb: Update Document.write spec steps 2025-02-25 15:19:38 +01:00
UIEvents LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
URLPattern LibWeb/LibURL: Use an IgnoreCase enum for URLPatternOptions 2025-04-06 08:24:54 -04:00
UserTiming LibWeb: Report performance based timestamps relative to ESO time origin 2025-01-27 14:53:33 +01:00
WebAssembly LibJS: Inline the fast path of Value::to_i32() and simplify to_u32() 2025-04-09 22:06:49 +02:00
WebAudio LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
WebDriver LibWeb/WebDriver: Use WebIDL promise AOs to execute async scripts 2025-04-11 14:35:37 -04:00
WebGL LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
WebIDL LibWeb: Implement ReadableStreamPipeTo according to spec 2025-04-11 12:10:46 -04:00
WebSockets LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
WebVTT LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Worker LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
XHR LibWeb: Do not store network errors as a StringView 2025-04-02 11:43:53 +02:00
XLink LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
XML LibJS+LibWeb: Remove more uses of DeprecatedFlyString 2025-03-24 22:27:17 +00:00
CMakeLists.txt LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
Dump.cpp LibWeb/CSS: Don't resolve @import URLs until they are used 2025-04-09 18:45:57 +01:00
Dump.h LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties 2025-03-19 13:53:00 +00:00
Forward.h LibWeb/IDB: Add internal Index object 2025-04-09 11:48:49 -06:00
idl_files.cmake LibWeb/WebGL: Implement EXT_blend_minmax extension 2025-04-07 23:21:11 +02:00
InvalidateDisplayList.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
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 Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.h LibWeb: Clamp layout content sizes to a max value instead of crashing 2025-02-05 18:28:55 +01:00
TraversalDecision.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalOrder.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TreeNode.h LibWeb/DOM: Don't use recursion for subtree traversal in Node.h 2025-02-03 18:36:57 +01:00