mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
stylo: Support linear-gradients as background-image
This commit is contained in:
parent
8caa17a466
commit
abf8ced0bf
5 changed files with 183 additions and 5 deletions
|
@ -1179,6 +1179,7 @@ pub mod specified {
|
|||
}
|
||||
|
||||
impl Angle {
|
||||
#[inline]
|
||||
pub fn radians(self) -> f32 {
|
||||
let Angle(radians) = self;
|
||||
radians
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue