DescriptionClean up nth-index calculation in SelectorChecker.
Use a 1-based index consistently to avoid +/-1 adjustments and rename
countElement*Before/After to nth*Index since that is what it is used for.
R=esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195113
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|