mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use CustomIdent in Symbol::Ident
The former code was not following the spec.
This commit is contained in:
parent
a71b5d5e16
commit
ad7adee882
5 changed files with 51 additions and 6 deletions
|
@ -313,7 +313,7 @@ impl ToNsCssValue for counter_style::Symbol {
|
|||
fn convert(self, nscssvalue: &mut nsCSSValue) {
|
||||
match self {
|
||||
counter_style::Symbol::String(s) => nscssvalue.set_string(&s),
|
||||
counter_style::Symbol::Ident(s) => nscssvalue.set_ident(&s),
|
||||
counter_style::Symbol::Ident(s) => nscssvalue.set_ident_from_atom(&s.0),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue