Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-17 01:17:20 +02:00
parent 773ddf31fe
commit 29bca57333
4 changed files with 22 additions and 0 deletions

View file

@ -461,6 +461,8 @@ impl GroupedClassifier {
fn image_classifer() -> GroupedClassifier {
GroupedClassifier {
byte_matchers: vec![
// Keep this in sync with 'is_supported_mime_type' from
// components/style/servo/media_queries.rs
Box::new(ByteMatcher::image_x_icon()),
Box::new(ByteMatcher::image_x_icon_cursor()),
Box::new(ByteMatcher::image_bmp()),