style: Do not require to import ToCss in define_css_keyword_enum.

This commit is contained in:
Emilio Cobos Álvarez 2017-10-24 14:22:11 +02:00
parent 2536e1ee98
commit 326f914018
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 5 additions and 15 deletions

View file

@ -112,7 +112,6 @@ ${helpers.single_keyword("text-align-last",
flags="APPLIES_TO_PLACEHOLDER"
spec="https://drafts.csswg.org/css-text/#propdef-text-align">
pub mod computed_value {
use style_traits::ToCss;
macro_rules! define_text_align {
( $( $name: ident ( $string: expr ) => $discriminant: expr, )+ ) => {
define_css_keyword_enum! { T:
@ -584,8 +583,6 @@ ${helpers.predefined_type(
<%helpers:longhand name="text-emphasis-position" animation_value_type="discrete" products="gecko"
spec="https://drafts.csswg.org/css-text-decor/#propdef-text-emphasis-position">
use style_traits::ToCss;
define_css_keyword_enum!(HorizontalWritingModeValue:
"over" => Over,
"under" => Under);