mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
style: Distinguish between specified and computed URLs.
This is needed to serialize computed URLs correctly from getComputedStyle. Bug: 1461288 Reviewed-by: xidorn MozReview-Commit-ID: 9wakhqNrszb
This commit is contained in:
parent
a6328ba3ce
commit
1314f47da5
11 changed files with 375 additions and 295 deletions
|
@ -15,9 +15,7 @@ use values::computed::Angle as ComputedAngle;
|
|||
use values::computed::BorderCornerRadius as ComputedBorderCornerRadius;
|
||||
use values::computed::MaxLength as ComputedMaxLength;
|
||||
use values::computed::MozLength as ComputedMozLength;
|
||||
#[cfg(feature = "servo")]
|
||||
use values::computed::url::ComputedUrl;
|
||||
use values::specified::url::SpecifiedUrl;
|
||||
|
||||
pub mod color;
|
||||
pub mod effects;
|
||||
|
@ -260,8 +258,6 @@ macro_rules! trivial_to_animated_value {
|
|||
|
||||
trivial_to_animated_value!(Au);
|
||||
trivial_to_animated_value!(ComputedAngle);
|
||||
trivial_to_animated_value!(SpecifiedUrl);
|
||||
#[cfg(feature = "servo")]
|
||||
trivial_to_animated_value!(ComputedUrl);
|
||||
trivial_to_animated_value!(bool);
|
||||
trivial_to_animated_value!(f32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue