Skip to content

Commit

Permalink
CSSTransitionDiscrete: Fix CounterRulesEqual
Browse files Browse the repository at this point in the history
Instead of returning the value of base::ranges::equal, the initial
implementation I merged of CounterRulesEqual was throwing away the
return value and unconditionally returning true.

Bug: 1399631, 1413556
Change-Id: I2df45579ddf02056ff48763772d55be7885460fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4363281
Auto-Submit: Joey Arhar <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1121451}
  • Loading branch information
josepharhar authored and marcoscaceres committed Mar 28, 2023
1 parent 50658e0 commit 93e46f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/css-lists/css-lists-no-interpolation.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
to: 'add 123'
});

test_no_interpolation({
property: 'counter-increment',
from: 'add 5',
to: 'add 123'
});

test_no_interpolation({
property: 'counter-reset',
from: 'initial',
Expand Down

0 comments on commit 93e46f4

Please sign in to comment.