style: Add style_traits::ToCss for AtomIdent

Differential Revision: https://phabricator.services.mozilla.com/D136290
This commit is contained in:
Emily McDonough 2023-06-06 23:41:27 +02:00 committed by Oriol Brufau
parent f39ab4ffc1
commit 199f54342c
6 changed files with 20 additions and 20 deletions

View file

@ -293,6 +293,16 @@ impl cssparser::ToCss for AtomIdent {
}
}
#[cfg(feature = "gecko")]
impl style_traits::ToCss for AtomIdent {
fn to_css<W>(&self, dest: &mut CssWriter<W>) -> fmt::Result
where
W: Write,
{
cssparser::ToCss::to_css(self, dest)
}
}
#[cfg(feature = "gecko")]
impl PrecomputedHash for AtomIdent {
#[inline]