mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Implement style system support for Masonry layout.
This implements support for this CSS Masonry layout proposal: https://github.com/w3c/csswg-drafts/issues/4650 I've intentionally left out a shorthand (place-tracks?) for now until we have a draft CSS spec for this. Differential Revision: https://phabricator.services.mozilla.com/D67061
This commit is contained in:
parent
21d48e00cc
commit
6f58c66589
11 changed files with 295 additions and 30 deletions
|
@ -786,6 +786,9 @@ pub enum GenericGridTemplateComponent<L, I> {
|
|||
/// TODO: Support animations for this after subgrid is addressed in [grid-2] spec.
|
||||
#[animation(error)]
|
||||
Subgrid(Box<LineNameList>),
|
||||
/// `masonry` value.
|
||||
/// https://github.com/w3c/csswg-drafts/issues/4650
|
||||
Masonry,
|
||||
}
|
||||
|
||||
pub use self::GenericGridTemplateComponent as GridTemplateComponent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue