mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Simplify counter CSS properties
This commit is contained in:
parent
2f8cd0fe22
commit
df11a7fec7
7 changed files with 120 additions and 186 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue