mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Don't reject negative values at parse time in media features
Clean-up some other test expectations while at it. Differential Revision: https://phabricator.services.mozilla.com/D170677
This commit is contained in:
parent
4ed0f518fb
commit
d68bd45cc3
3 changed files with 9 additions and 9 deletions
|
@ -36,7 +36,7 @@ pub type KeywordParser = for<'a, 'i, 't> fn(
|
|||
pub enum Evaluator {
|
||||
Length(QueryFeatureGetter<CSSPixelLength>),
|
||||
OptionalLength(QueryFeatureGetter<Option<CSSPixelLength>>),
|
||||
Integer(QueryFeatureGetter<u32>),
|
||||
Integer(QueryFeatureGetter<i32>),
|
||||
Float(QueryFeatureGetter<f32>),
|
||||
BoolInteger(QueryFeatureGetter<bool>),
|
||||
/// A non-negative number ratio, such as the one from device-pixel-ratio.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue