mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove a note about <li value> style mapping that is no longer true.
Differential Revision: https://phabricator.services.mozilla.com/D26814
This commit is contained in:
parent
fce58015d6
commit
9b66f452cb
1 changed files with 1 additions and 3 deletions
|
@ -740,9 +740,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
if self.style.pseudo.is_some() {
|
||||
return;
|
||||
}
|
||||
// Note that we map <li value=INTEGER> to 'counter-set: list-item INTEGER;
|
||||
// counter-increment: list-item 0;' so we'll return here unless the author
|
||||
// explicitly specified something else.
|
||||
|
||||
let increments = self.style.get_counters().clone_counter_increment();
|
||||
if increments.iter().any(|i| i.name.0 == atom!("list-item")) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue