mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02: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.
2.0 KiB
2.0 KiB