Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-27 17:14:09 +02:00
parent e74b41cafe
commit 5c861b90c5

View file

@ -220,6 +220,12 @@ impl Device {
_ => false, _ => false,
} }
} }
/// Return whether the document is a chrome document.
#[inline]
pub fn is_chrome_document(&self) -> bool {
false
}
} }
/// https://drafts.csswg.org/mediaqueries-4/#width /// https://drafts.csswg.org/mediaqueries-4/#width