mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Derive HasViewportPercentage 🍷
This commit is contained in:
parent
d1e31f7aa4
commit
90bae7f802
27 changed files with 202 additions and 452 deletions
|
@ -175,7 +175,7 @@ impl<T> ToComputedValue for T
|
|||
}
|
||||
|
||||
/// A computed `<angle>` value.
|
||||
#[derive(Clone, PartialEq, PartialOrd, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, HasViewportPercentage, PartialEq, PartialOrd)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf, Deserialize, Serialize))]
|
||||
pub enum Angle {
|
||||
/// An angle with degree unit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue