mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb/MimeSniff: Match spec change by using correct font essence
Spec change was made to fix a typo; application/font-off -> application/font-otf
This commit is contained in:
parent
fff09ed330
commit
faf3c19026
|
|
@ -269,7 +269,7 @@ bool MimeType::is_font() const
|
|||
{
|
||||
// A font MIME type is any MIME type whose type is "font", or whose essence is one of the following:
|
||||
// - application/font-cff
|
||||
// - application/font-off
|
||||
// - application/font-otf
|
||||
// - application/font-sfnt
|
||||
// - application/font-ttf
|
||||
// - application/font-woff
|
||||
|
|
@ -280,7 +280,7 @@ bool MimeType::is_font() const
|
|||
|
||||
return essence().is_one_of(
|
||||
"application/font-cff"sv,
|
||||
"application/font-off"sv,
|
||||
"application/font-otf"sv,
|
||||
"application/font-sfnt"sv,
|
||||
"application/font-ttf"sv,
|
||||
"application/font-woff"sv,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user