mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Use SmallVec in the computed value representation of most stuff.
This commit is contained in:
parent
caa66a880a
commit
0c5681140a
9 changed files with 68 additions and 57 deletions
|
@ -332,7 +332,7 @@ pub struct Shadow {
|
|||
/// A `<number>` value.
|
||||
pub type Number = CSSFloat;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
#[allow(missing_docs)]
|
||||
pub enum NumberOrPercentage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue