Skip to content

Commit 24c9d2b

Browse files
docs(css): keep the _unwrapLoneIs description to two sentences
1 parent 68fba22 commit 24c9d2b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎lib/css/syntax-parser.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12948,9 +12948,7 @@ const _isCompoundText = (selector) => {
1294812948
* Unwrap each `:is()` holding one compound, which matches the same elements with
1294912949
* the same specificity. Only where the targets read every pseudo it names, since
1295012950
* `:is()` forgives an argument it cannot parse and a bare compound does not.
12951-
* Almost no selector holds one, so it is called only where `_foldPseudoNames`
12952-
* read a pseudo that may be one.
12953-
* @param {string[]} parts a selector's printed parts, rewritten in place
12951+
* @param {string[]} parts a selector's printed parts, rewritten in place, called only where `_foldPseudoNames` read a pseudo that may be an `:is()`
1295412952
*/
1295512953
const _unwrapLoneIs = (parts) => {
1295612954
let before = -1;

0 commit comments

Comments
 (0)