mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Bug 1519958 - Improve stack size of grid templates and re-enable style struct size assertions disabled in the previous patch. r=boris
This re-enables the assertion which was disabled on the previous patch by doing a bit of boxing around. Differential Revision: https://phabricator.services.mozilla.com/D36599
This commit is contained in:
parent
3e39998068
commit
708ce04896
3 changed files with 10 additions and 6 deletions
|
@ -710,12 +710,12 @@ pub enum GenericGridTemplateComponent<L, I> {
|
|||
#[compute(field_bound)]
|
||||
#[resolve(field_bound)]
|
||||
#[shmem(field_bound)]
|
||||
GenericTrackList<L, I>,
|
||||
Box<GenericTrackList<L, I>>,
|
||||
),
|
||||
/// A `subgrid <line-name-list>?`
|
||||
/// TODO: Support animations for this after subgrid is addressed in [grid-2] spec.
|
||||
#[animation(error)]
|
||||
Subgrid(LineNameList),
|
||||
Subgrid(Box<LineNameList>),
|
||||
}
|
||||
|
||||
pub use self::GenericGridTemplateComponent as GridTemplateComponent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue