Add 'fallback' descriptor to @counter-style

This commit is contained in:
Simon Sapin 2017-04-14 10:08:44 +02:00
parent e27de3842d
commit 0ba5cae707
3 changed files with 32 additions and 0 deletions

View file

@ -124,6 +124,11 @@ impl nsCSSValue {
self.set_string_from_atom_internal(s, nsCSSUnit::eCSSUnit_String)
}
/// Set to a ident value from the given atom
pub fn set_ident_from_atom(&mut self, s: &Atom) {
self.set_string_from_atom_internal(s, nsCSSUnit::eCSSUnit_Ident)
}
/// Set to an identifier value
pub fn set_ident(&mut self, s: &str) {
self.set_string_internal(s, nsCSSUnit::eCSSUnit_Ident)