mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -8,7 +8,7 @@ use cssparser::Parser;
|
|||
use parser::{Parse, ParserContext};
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
use values::NoViewportPercentage;
|
||||
use values::HasViewportPercentage;
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
#[derive(PartialEq, Clone, Debug)]
|
||||
|
@ -96,4 +96,4 @@ impl Parse for GridLine {
|
|||
}
|
||||
|
||||
impl ComputedValueAsSpecified for GridLine {}
|
||||
impl NoViewportPercentage for GridLine {}
|
||||
no_viewport_percentage!(GridLine);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue