mirror of
https://github.com/servo/servo.git
synced 2025-10-11 05:50:19 +01:00
This change means that stylo_tests doesn't depend on a version of the style crate with the `testing` feature defined.
14 lines
672 B
Rust
14 lines
672 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
use style::invalidation::element::invalidation_map::Dependency;
|
|
use style::properties;
|
|
|
|
size_of_test!(test_size_of_dependency, Dependency, 16);
|
|
|
|
size_of_test!(test_size_of_property_declaration, properties::PropertyDeclaration, 32);
|
|
|
|
// This is huge, but we allocate it on the stack and then never move it,
|
|
// we only pass `&mut SourcePropertyDeclaration` references around.
|
|
size_of_test!(test_size_of_parsed_declaration, properties::SourcePropertyDeclaration, 576);
|