mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
style: Media Query - Enable single <number> and <number>/<number> for <aspect-ratio>.
Differential Revision: https://phabricator.services.mozilla.com/D41557
This commit is contained in:
parent
54ce45f3ee
commit
1406ae7f39
3 changed files with 32 additions and 23 deletions
|
@ -44,8 +44,8 @@ pub enum Evaluator {
|
|||
Integer(MediaFeatureEvaluator<u32>),
|
||||
Float(MediaFeatureEvaluator<f32>),
|
||||
BoolInteger(MediaFeatureEvaluator<bool>),
|
||||
/// An integer ratio, such as the one from device-pixel-ratio.
|
||||
IntRatio(MediaFeatureEvaluator<AspectRatio>),
|
||||
/// A non-negative number ratio, such as the one from device-pixel-ratio.
|
||||
NumberRatio(MediaFeatureEvaluator<AspectRatio>),
|
||||
/// A resolution.
|
||||
Resolution(MediaFeatureEvaluator<Resolution>),
|
||||
/// A keyword value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue