mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Add style_traits::ToCss for AtomIdent
Differential Revision: https://phabricator.services.mozilla.com/D136290
This commit is contained in:
parent
f39ab4ffc1
commit
199f54342c
6 changed files with 20 additions and 20 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue