Simplify counter CSS properties

This commit is contained in:
Anthony Ramine 2018-02-04 03:15:15 +01:00
parent 2f8cd0fe22
commit df11a7fec7
7 changed files with 120 additions and 186 deletions

View file

@ -1035,8 +1035,8 @@ impl BaseFlow {
}
}
if !style.get_counters().counter_reset.get_values().is_empty() ||
!style.get_counters().counter_increment.get_values().is_empty() {
if !style.get_counters().counter_reset.is_empty() ||
!style.get_counters().counter_increment.is_empty() {
flags.insert(FlowFlags::AFFECTS_COUNTERS)
}
}