mirror of
https://github.com/servo/servo.git
synced 2025-10-02 01:29:15 +01:00
Box more specified values to bring SpecifiedValue/PropertyDeclaration sizes down to 24/32 bytes.
MozReview-Commit-ID: xstAfjVQqi
This commit is contained in:
parent
8f3f8098c3
commit
97dd3a1b08
12 changed files with 58 additions and 50 deletions
|
@ -1114,10 +1114,10 @@ pub extern "C" fn Servo_DeclarationBlock_SetPixelValue(declarations:
|
|||
let prop = match_wrap_declared! { long,
|
||||
Height => nocalc.into(),
|
||||
Width => nocalc.into(),
|
||||
BorderTopWidth => BorderWidth::Width(nocalc.into()),
|
||||
BorderRightWidth => BorderWidth::Width(nocalc.into()),
|
||||
BorderBottomWidth => BorderWidth::Width(nocalc.into()),
|
||||
BorderLeftWidth => BorderWidth::Width(nocalc.into()),
|
||||
BorderTopWidth => Box::new(BorderWidth::Width(nocalc.into())),
|
||||
BorderRightWidth => Box::new(BorderWidth::Width(nocalc.into())),
|
||||
BorderBottomWidth => Box::new(BorderWidth::Width(nocalc.into())),
|
||||
BorderLeftWidth => Box::new(BorderWidth::Width(nocalc.into())),
|
||||
MarginTop => nocalc.into(),
|
||||
MarginRight => nocalc.into(),
|
||||
MarginBottom => nocalc.into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue