Make no_viewport_percentage! use an absolute path for HasViewportPercentage

This commit is contained in:
Michael Brennan 2017-05-10 23:58:05 +02:00
parent c8171ed5d7
commit f7459fd848
7 changed files with 1 additions and 7 deletions

View file

@ -56,7 +56,7 @@ macro_rules! define_numbered_css_keyword_enum {
/// for a given type that may never contain viewport units.
macro_rules! no_viewport_percentage {
($name: ident) => {
impl HasViewportPercentage for $name {
impl $crate::values::HasViewportPercentage for $name {
#[inline]
fn has_viewport_percentage(&self) -> bool {
false