mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Add 'fallback' descriptor to @counter-style
This commit is contained in:
parent
e27de3842d
commit
0ba5cae707
3 changed files with 32 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue