Box custom property

This commit is contained in:
Nazım Can Altınova 2017-02-09 01:05:44 +03:00 committed by Simon Sapin
parent 78afe2b8d1
commit 43731c5757
3 changed files with 11 additions and 9 deletions

View file

@ -7,7 +7,7 @@ use style::properties::{PropertyDeclaration, specified_value_sizes};
#[test]
fn size_of_property_declaration() {
let old = 96;
let old = 72;
let new = size_of::<PropertyDeclaration>();
if new < old {
panic!("Your changes have decreased the stack size of PropertyDeclaration enum from {} to {}. \