Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-27 17:30:04 +02:00
parent 07e5ea6966
commit c204f3a96d
2 changed files with 7 additions and 0 deletions

View file

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

View file

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