mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Partially implement radial gradients.
Missing: repeating radial gradients and keyword sizes.
This commit is contained in:
parent
2c445169ad
commit
f4bad2d920
4 changed files with 194 additions and 83 deletions
|
@ -14,10 +14,12 @@ use std::fmt;
|
|||
use style_traits::ToCss;
|
||||
use values::computed::{Angle, Context, Length, LengthOrPercentage, NumberOrPercentage, ToComputedValue};
|
||||
use values::computed::position::Position;
|
||||
use values::specified::{self, HorizontalDirection, SizeKeyword, VerticalDirection};
|
||||
use values::specified::{self, HorizontalDirection, VerticalDirection};
|
||||
use values::specified::image::CompatMode;
|
||||
use values::specified::url::SpecifiedUrl;
|
||||
|
||||
pub use values::specified::SizeKeyword;
|
||||
|
||||
|
||||
impl ToComputedValue for specified::Image {
|
||||
type ComputedValue = Image;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue