ladybird/Libraries/LibWeb/CSS/Parser
Sam Atkins 1abc628cd8 LibWeb/CSS: Allow CSSImportRule's document to be null on construction
It's possible to parse an `@import` rule that isn't attached to a
document. We only actually need it to have one when fetching the linked
style sheet, and that should only happen when the CSSImportRule is
attached to a document. So, we can just accept a null pointer when
constructing it.

We relied on that Document to get the Realm, so pass that in as a
separate parameter.
2025-04-09 18:45:57 +01:00
..
ComponentValue.cpp
ComponentValue.h
DescriptorParsing.cpp LibWeb/CSS: Store @property initial value as a style value 2025-04-08 09:59:41 +01:00
Dimension.h LibWeb/CSS: Add Parser::Dimension::to_string() 2024-12-18 12:21:22 +00:00
GradientParsing.cpp LibWeb/CSS: Allow bare zero for gradient angles 2025-03-18 20:04:08 +00:00
Helpers.cpp LibWeb/CSS: Qualify uses of LibURL 2025-04-09 18:45:57 +01:00
MediaParsing.cpp LibWeb/CSS: Return GC::Ref from Parser::convert_to_style_declaration() 2025-03-19 13:53:00 +00:00
Parser.cpp LibWeb/CSS: Pass location to parse_a_stylesheet() 2025-04-09 18:45:57 +01:00
Parser.h LibWeb/CSS: Parse <url> as a new CSS::URL type 2025-04-09 18:45:57 +01:00
PropertyParsing.cpp LibWeb/CSS: Teach OpenTypeTaggedStyleValue to serialize without "1" 2025-04-07 10:00:21 +01:00
RuleParsing.cpp LibWeb/CSS: Allow CSSImportRule's document to be null on construction 2025-04-09 18:45:57 +01:00
SelectorParsing.cpp LibWeb: Implement functional pseudo-element parsing 2025-03-25 07:54:13 +00:00
Token.cpp
Token.h
Tokenizer.cpp LibWeb: Treat CSS at-rule names as case-insensitive 2025-03-10 12:42:57 +01:00
Tokenizer.h
TokenStream.h LibWeb/CSS: Make CSS Parser non-copyable/movable 2025-02-06 16:47:25 +00:00
Types.cpp LibWeb/CSS: Move functions for detecting var()/attr() into Token types 2025-03-28 09:15:02 +00:00
Types.h LibWeb/CSS: Move functions for detecting var()/attr() into Token types 2025-03-28 09:15:02 +00:00
ValueParsing.cpp LibWeb/CSS: Parse <url> as a new CSS::URL type 2025-04-09 18:45:57 +01:00