summaryrefslogtreecommitdiffstats
path: root/servo/components/style_traits/values.rs
diff options
context:
space:
mode:
Diffstat (limited to 'servo/components/style_traits/values.rs')
-rw-r--r--servo/components/style_traits/values.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/servo/components/style_traits/values.rs b/servo/components/style_traits/values.rs
index d6bd05b..4020977 100644
--- a/servo/components/style_traits/values.rs
+++ b/servo/components/style_traits/values.rs
@@ -135,6 +135,7 @@ where
}
}
+/*
#[macro_export]
macro_rules! serialize_function {
($dest: expr, $name: ident($( $arg: expr, )+)) => {
@@ -152,6 +153,7 @@ macro_rules! serialize_function {
}
}
}
+*/
/// Convenience wrapper to serialise CSS values separated by a given string.
pub struct SequenceWriter<'a, 'b: 'a, W: 'b> {
@@ -404,6 +406,7 @@ impl_to_css_for_predefined_type!(::cssparser::RGBA);
impl_to_css_for_predefined_type!(::cssparser::Color);
impl_to_css_for_predefined_type!(::cssparser::UnicodeRange);
+/// Define an enum type with unit variants that each correspond to a CSS keyword.
#[macro_export]
macro_rules! define_css_keyword_enum {
(pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {