mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Replace NoViewportPercentage with a macro
This commit is contained in:
parent
9204f2aaad
commit
abc40f61c0
19 changed files with 104 additions and 103 deletions
|
@ -15,7 +15,7 @@ use std::borrow::Cow;
|
|||
use std::fmt::{self, Write};
|
||||
use std::sync::Arc;
|
||||
use style_traits::ToCss;
|
||||
use values::NoViewportPercentage;
|
||||
use values::HasViewportPercentage;
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
/// A set of data needed in Gecko to represent a URL.
|
||||
|
@ -202,4 +202,4 @@ impl ToCss for SpecifiedUrl {
|
|||
// TODO(emilio): Maybe consider ComputedUrl to save a word in style structs?
|
||||
impl ComputedValueAsSpecified for SpecifiedUrl {}
|
||||
|
||||
impl NoViewportPercentage for SpecifiedUrl {}
|
||||
no_viewport_percentage!(SpecifiedUrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue