style: Add page-size parsing to Servo

Differential Revision: https://phabricator.services.mozilla.com/D102360
This commit is contained in:
Emily McDonough 2021-01-27 00:47:56 +00:00 committed by Emilio Cobos Álvarez
parent 1927a676fd
commit 96c08d78cf
6 changed files with 183 additions and 0 deletions

View file

@ -31,6 +31,7 @@ pub mod grid;
pub mod image;
pub mod length;
pub mod motion;
pub mod page;
pub mod position;
pub mod rect;
pub mod size;
@ -292,3 +293,5 @@ impl<L> ClipRectOrAuto<L> {
matches!(*self, ClipRectOrAuto::Auto)
}
}
pub use page::PageSize;