mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
style: Unify some #[derive]s between Servo and Gecko.
Bug: 1468846 Reviewed-by: xidorn MozReview-Commit-ID: FqoNCuLcdm7
This commit is contained in:
parent
4d255392f7
commit
9ca081c532
3 changed files with 10 additions and 14 deletions
|
@ -12,7 +12,7 @@ use style_traits::{ParseError, StyleParseErrorKind};
|
|||
use values::CSSFloat;
|
||||
|
||||
/// A specified resolution.
|
||||
#[derive(Clone, Debug, PartialEq, ToCss)]
|
||||
#[derive(Clone, Debug, PartialEq, MallocSizeOf, ToCss)]
|
||||
pub enum Resolution {
|
||||
/// Dots per inch.
|
||||
#[css(dimension)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue