mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
Use CustomIdent in counter-increment
This commit is contained in:
parent
d9c2d1a9fb
commit
627c823d0a
3 changed files with 26 additions and 29 deletions
|
@ -4012,9 +4012,9 @@ clip-path
|
|||
unsafe {
|
||||
bindings::Gecko_ClearAndResizeCounter${counter_property}s(&mut self.gecko,
|
||||
v.0.len() as u32);
|
||||
for (i, item) in v.0.into_iter().enumerate() {
|
||||
self.gecko.m${counter_property}s[i].mCounter.assign_utf8(&item.0);
|
||||
self.gecko.m${counter_property}s[i].mValue = item.1;
|
||||
for (i, (name, value)) in v.0.into_iter().enumerate() {
|
||||
self.gecko.m${counter_property}s[i].mCounter.assign(name.0.as_slice());
|
||||
self.gecko.m${counter_property}s[i].mValue = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue