From 9b66f452cb2f4ae1f57db53672e9d70703eebe59 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Tue, 9 Apr 2019 23:01:44 +0200 Subject: [PATCH] style: Remove a note about
  • style mapping that is no longer true. Differential Revision: https://phabricator.services.mozilla.com/D26814 --- components/style/style_adjuster.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/style/style_adjuster.rs b/components/style/style_adjuster.rs index 91e4bba992b0..e0efe35c86f2 100644 --- a/components/style/style_adjuster.rs +++ b/components/style/style_adjuster.rs @@ -740,9 +740,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> { if self.style.pseudo.is_some() { return; } - // Note that we map
  • 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;