ladybird/Libraries/LibWeb/CSS/Parser
Andreas Kling 222c1f7044 LibWeb: Move CSS image loading state to Document
Move the SharedResourceRequest, animation timer, and current frame
state out of ImageStyleValue and into a Document-owned table keyed
by resolved image URL. ImageStyleValue now keeps only URL metadata
and its client list, so image style values no longer need to trace
GC edges themselves.

Thread the Document through AbstractImageStyleValue APIs that need
decoded image data. CSS image fetches snapshot the stylesheet base URL,
referrer behavior, and origin-clean state instead of retaining the
stylesheet.

Remember each client's registered resolved URL when unregistering. This
keeps a later document base change from leaving an animated image
resource alive.

Add text coverage for inline relative image base URLs, stylesheet
referrers, imported stylesheet origin-clean behavior, inline @import
initiator type, and unregistering an animated background image after a
base element change.
2026-06-06 23:29:48 +02:00
..
ArbitrarySubstitutionFunctions.cpp LibWeb: Avoid copying ASF argument component values 2026-06-03 22:28:54 +02:00
ArbitrarySubstitutionFunctions.h LibWeb: Avoid copying ASF argument component values 2026-06-03 22:28:54 +02:00
ComponentValue.cpp LibWeb/CSS: Store source positions on CSS rules 2026-06-04 20:54:33 +01:00
ComponentValue.h LibWeb/CSS: Store source positions on CSS rules 2026-06-04 20:54:33 +01:00
DescriptorParsing.cpp LibWeb: Support multiple keywords in parse_specific_keyword_value 2026-05-13 11:00:07 +01:00
ErrorReporter.cpp Meta: Enable exit-time destructor warnings for libraries 2026-06-04 19:20:49 +02:00
ErrorReporter.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
GradientParsing.cpp LibWeb: Explicitly pass calculation context when parsing 2026-04-22 14:24:12 +01:00
Helpers.cpp Meta: Enable exit-time destructor warnings for libraries 2026-06-04 19:20:49 +02:00
MediaParsing.cpp LibWeb/CSS: Maintain rule-parsing context when converting to CSSRules 2026-05-22 10:00:42 +01:00
Parser.cpp LibWeb/CSS: Parse authored declarations for DevTools 2026-06-04 20:54:33 +01:00
Parser.h LibWeb/CSS: Parse authored declarations for DevTools 2026-06-04 20:54:33 +01:00
PropertyParsing.cpp Meta: Enable exit-time destructor warnings for libraries 2026-06-04 19:20:49 +02:00
RuleContext.cpp LibWeb/CSS: Implement the @scope rule 2026-05-22 10:00:42 +01:00
RuleContext.h LibWeb/CSS: Implement the @scope rule 2026-05-22 10:00:42 +01:00
RuleParsing.cpp LibWeb/CSS: Store source positions on CSS rules 2026-06-04 20:54:33 +01:00
RustTokenizer.cpp LibWeb/CSS: Move Token::Position into SourcePosition 2026-06-04 20:54:33 +01:00
RustTokenizer.h LibWeb: Honor requested CSS tokenizer encoding 2026-05-18 14:08:22 +02:00
SelectorParsing.cpp LibWeb/CSS: Insert a combinator before all pseudo-element selectors 2026-05-13 11:03:02 +01:00
SourcePosition.h LibWeb/CSS: Move Token::Position into SourcePosition 2026-06-04 20:54:33 +01:00
Syntax.cpp LibWeb: Limit <ident> to <custom-ident> in @property/syntax 2026-03-26 01:11:39 +00:00
Syntax.h LibWeb: Limit <ident> to <custom-ident> in @property/syntax 2026-03-26 01:11:39 +00:00
SyntaxParsing.cpp LibWeb: Explicitly pass calculation context when parsing 2026-04-22 14:24:12 +01:00
SyntaxParsing.h LibWeb: Expose parse_syntax_component 2026-03-27 11:19:28 +00:00
Token.cpp LibWeb/CSS: Move Token::Position into SourcePosition 2026-06-04 20:54:33 +01:00
Token.h LibWeb/CSS: Move Token::Position into SourcePosition 2026-06-04 20:54:33 +01:00
Tokenizer.cpp LibWeb: Honor requested CSS tokenizer encoding 2026-05-18 14:08:22 +02:00
Tokenizer.h LibWeb/CSS: Move Token::Position into SourcePosition 2026-06-04 20:54:33 +01:00
TokenStream.h LibWeb/CSS: Un-deprecate TokenStream::peek_token() 2026-04-16 14:52:22 +01:00
Types.cpp LibWeb: Move ASF presence checking into Parser 2026-03-30 19:57:36 +01:00
Types.h LibWeb/CSS: Store source positions on CSS rules 2026-06-04 20:54:33 +01:00
ValueParsing.cpp LibWeb: Move CSS image loading state to Document 2026-06-06 23:29:48 +02:00