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:
parent
34025442ff
commit
463355d1eb
2 changed files with 6 additions and 3 deletions
|
@ -318,6 +318,7 @@ private:
|
|||
enum class AllowedDataUrlType {
|
||||
None,
|
||||
Image,
|
||||
Font,
|
||||
};
|
||||
Optional<AK::URL> parse_url_function(ComponentValue const&, AllowedDataUrlType = AllowedDataUrlType::None);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue