Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Permutation of 4 is 24, not 16 #553

Open
Labels
@meetilaiya

Description

Issue:
Permutation of 4 is 24, not 16.

Document link:
https://github.com/less/less-docs/blob/484055f839c15aba1ec660fc1e068984c3dccef6/content/features/parent-selectors.md

Document lines:
& can also be used to generate every possible permutation of selectors in a comma separated list:
p, a, ul, li {
....
}
This expands to all possible (16) combinations of the specified elements:

The above document lines say permutation of 4(p,a,ul,li) is 16 which i think is not correct.

Proposal:
Instead of using the word "permutation", we can use something else. My suggestion would be to frame the sentence to something like
"& can also be used to generate every possible combination of selectors in a comma-separated list:"
and
"This expands to all possible combinations of the specified elements:"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /