Skip to content

Commit

Permalink
fix(): comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SStranks committed Nov 3, 2023
1 parent 8d81e52 commit b99246f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/selectorPrinting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export class SelectorPrinting {
}

if (text.match(/^:(?:nth-child|nth-last-child)/i) && childElements.length > 0) {
// The specificity of the :nth-child(An+B [of S]?) pseudo-class is the specificity of a single pseudo-class plus, if S is specified, the specificity of the most specific complex selector in S
/* The specificity of the :nth-child(An+B [of S]?) pseudo-class is the specificity of a single pseudo-class plus, if S is specified, the specificity of the most specific complex selector in S */
// https://www.w3.org/TR/selectors-4/#the-nth-child-pseudo
specificity.attr++;

Expand Down

0 comments on commit b99246f

Please sign in to comment.