mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
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. |
||
---|---|---|
.. | ||
ComponentValue.cpp | ||
ComponentValue.h | ||
DescriptorParsing.cpp | ||
Dimension.h | ||
GradientParsing.cpp | ||
Helpers.cpp | ||
MediaParsing.cpp | ||
Parser.cpp | ||
Parser.h | ||
PropertyParsing.cpp | ||
RuleParsing.cpp | ||
SelectorParsing.cpp | ||
Token.cpp | ||
Token.h | ||
Tokenizer.cpp | ||
Tokenizer.h | ||
TokenStream.h | ||
Types.cpp | ||
Types.h | ||
ValueParsing.cpp |