mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make no_viewport_percentage! use an absolute path for HasViewportPercentage
This commit is contained in:
parent
c8171ed5d7
commit
f7459fd848
7 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue