mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Move Ratio into independent files.
Based on https://drafts.csswg.org/css-values/#ratios, <ratio> should be a general types in css values, and now the media query and the position use this type, so let's move it into the independent files. Differential Revision: https://phabricator.services.mozilla.com/D106218
This commit is contained in:
parent
35b080e021
commit
52d39fc1bc
12 changed files with 142 additions and 115 deletions
|
@ -77,6 +77,7 @@ pub use self::position::AspectRatio;
|
|||
pub use self::position::{
|
||||
GridAutoFlow, GridTemplateAreas, MasonryAutoFlow, Position, PositionOrAuto, ZIndex,
|
||||
};
|
||||
pub use self::ratio::Ratio;
|
||||
pub use self::rect::NonNegativeLengthOrNumberRect;
|
||||
pub use self::resolution::Resolution;
|
||||
pub use self::svg::MozContextProperties;
|
||||
|
@ -122,6 +123,7 @@ pub mod outline;
|
|||
pub mod page;
|
||||
pub mod percentage;
|
||||
pub mod position;
|
||||
pub mod ratio;
|
||||
pub mod rect;
|
||||
pub mod resolution;
|
||||
pub mod svg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue