Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-27 17:39:58 +02:00
parent 1b04838278
commit 40b7d87bbb
2 changed files with 7 additions and 0 deletions

View file

@ -1,4 +1,5 @@
-moz-gtk-csd-titlebar-radius
-moz-gtk-menu-radius
DOMContentLoaded
abort
activate

View file

@ -227,6 +227,12 @@ impl Device {
0.0
}
/// Returns the gtk menu radius in CSS pixels.
/// TODO: implement this method.
pub fn menu_radius(&self) -> f32 {
0.0
}
/// Return whether the document is a chrome document.
#[inline]
pub fn is_chrome_document(&self) -> bool {