1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

LibWeb: Allow data: URLs with font/ MIME type in @font-face CSS rules

This commit is contained in:
Andreas Kling 2022-09-14 21:14:16 +02:00
parent 34025442ff
commit 463355d1eb
2 changed files with 6 additions and 3 deletions

View file

@ -318,6 +318,7 @@ private:
enum class AllowedDataUrlType {
None,
Image,
Font,
};
Optional<AK::URL> parse_url_function(ComponentValue const&, AllowedDataUrlType = AllowedDataUrlType::None);