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:
Mats Palmgren 2019-04-09 23:01:44 +02:00 committed by Emilio Cobos Álvarez
parent fce58015d6
commit 9b66f452cb

View file

@ -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;