Skip to content

Commit

Permalink
style: Remove a note about <li value> style mapping that is no longer…
Browse files Browse the repository at this point in the history
… true.

Differential Revision: https://phabricator.services.mozilla.com/D26814
  • Loading branch information
Mats Palmgren authored and emilio committed Apr 12, 2019
1 parent fce5801 commit 9b66f45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/style/style_adjuster.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 9b66f45

Please sign in to comment.