mirror of
https://github.com/servo/servo.git
synced 2025-08-31 01:58:23 +01:00
Box custom property
This commit is contained in:
parent
78afe2b8d1
commit
43731c5757
3 changed files with 11 additions and 9 deletions
|
@ -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 {}. \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue