mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Further changes required by Servo
This commit is contained in:
parent
773ddf31fe
commit
29bca57333
4 changed files with 22 additions and 0 deletions
|
@ -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()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue