mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Further changes required by Servo
This commit is contained in:
parent
a8fef9d4f2
commit
ecc6ba79b0
1 changed files with 4 additions and 1 deletions
|
@ -93,7 +93,10 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn nan_inf_enabled() -> bool {
|
fn nan_inf_enabled() -> bool {
|
||||||
static_prefs::pref!("layout.css.nan-inf.enabled")
|
#[cfg(feature = "gecko")]
|
||||||
|
return static_prefs::pref!("layout.css.nan-inf.enabled");
|
||||||
|
#[cfg(feature = "servo")]
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Serialize a specified dimension with unit, calc, and NaN/infinity handling (if enabled)
|
/// Serialize a specified dimension with unit, calc, and NaN/infinity handling (if enabled)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue