# v1.2.3

## What's Changed

### Bug Fixes

* **Fix specificity comparison for selector lists / `:is()`** by @spokodev in https://github.com/LeaVerou/parsel/pull/87

  `specificityToNumber()` now weights the ID column by `base²` (was `base << 1`), so each specificity component occupies its own positional "digit". This fixes incorrect comparisons where a lower-category count could overflow into a higher category — e.g. picking the most specific argument of `:is()` / a selector list now follows proper lexicographic ordering of `[ID, class, type]`. The internal `base` passed when ranking list arguments was also bumped to `base + 1` to guarantee no column can overflow into the next.

## New Contributors

* @spokodev made their first contribution in https://github.com/LeaVerou/parsel/pull/87

**Full Changelog**: https://github.com/LeaVerou/parsel/compare/v1.2.2...v1.2.3
