mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Fix stylo issue after changing counter style names to nsIAtom.
This commit is contained in:
parent
f50b8fd545
commit
1ef7b323ac
3 changed files with 15 additions and 2 deletions
|
@ -134,6 +134,11 @@ impl nsCSSValue {
|
|||
self.set_string_internal(s, nsCSSUnit::eCSSUnit_Ident)
|
||||
}
|
||||
|
||||
/// Set to an atom identifier value
|
||||
pub fn set_atom_ident(&mut self, s: Atom) {
|
||||
unsafe { bindings::Gecko_CSSValue_SetAtomIdent(self, s.into_addrefed()) }
|
||||
}
|
||||
|
||||
/// Set to a font format
|
||||
pub fn set_font_format(&mut self, s: &str) {
|
||||
self.set_string_internal(s, nsCSSUnit::eCSSUnit_Font_Format);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue