mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
fc9321bb23
commit
7022f451e1
7 changed files with 50 additions and 54 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue