style: Replace AspectRatio with computed::position::Ratio in media-queries.

Also, we drop the pref, layout.css.aspect-ratio-number.enabled, becacuse
the spec of css-sizing-4 uses Number now.

Differential Revision: https://phabricator.services.mozilla.com/D75233
This commit is contained in:
Boris Chiou 2020-05-20 21:13:35 +00:00 committed by Emilio Cobos Álvarez
parent fc9321bb23
commit 7022f451e1
7 changed files with 50 additions and 54 deletions

View file

@ -156,7 +156,6 @@ impl<Integer> ZIndex<Integer> {
}
/// A generic value for the `<ratio>` value.
// FIXME: Use this for aspect-ratio in both css-sizing-4 and media-queries in the following patch.
#[derive(
Animate,
Clone,