mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Introduce ComputedUrl
Add web platform tests for computed URL styles Mark url with no original or resolved unreachable Update the WPT manifest for new url tests
This commit is contained in:
parent
f6aa17add9
commit
14c5a1b8d3
17 changed files with 197 additions and 46 deletions
|
@ -13,6 +13,8 @@ use smallvec::SmallVec;
|
|||
use std::cmp::max;
|
||||
use values::computed::Angle as ComputedAngle;
|
||||
use values::computed::BorderCornerRadius as ComputedBorderCornerRadius;
|
||||
#[cfg(feature = "servo")]
|
||||
use values::computed::ComputedUrl;
|
||||
use values::computed::GreaterThanOrEqualToOneNumber as ComputedGreaterThanOrEqualToOneNumber;
|
||||
use values::computed::MaxLength as ComputedMaxLength;
|
||||
use values::computed::MozLength as ComputedMozLength;
|
||||
|
@ -95,6 +97,8 @@ pub trait AnimatedValueAsComputed {}
|
|||
impl AnimatedValueAsComputed for Au {}
|
||||
impl AnimatedValueAsComputed for ComputedAngle {}
|
||||
impl AnimatedValueAsComputed for SpecifiedUrl {}
|
||||
#[cfg(feature = "servo")]
|
||||
impl AnimatedValueAsComputed for ComputedUrl {}
|
||||
impl AnimatedValueAsComputed for bool {}
|
||||
impl AnimatedValueAsComputed for f32 {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue