Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in selectors() function #2130

Closed
kizu opened this issue Mar 1, 2016 · 1 comment · May be fixed by ali8889/plunker-run-plugin#3, dmitriz/fontello#4 or walmartlabs/circus-stylus#5
Closed

Bug in selectors() function #2130

kizu opened this issue Mar 1, 2016 · 1 comment · May be fixed by ali8889/plunker-run-plugin#3, dmitriz/fontello#4 or walmartlabs/circus-stylus#5
Labels

Comments

@kizu
Copy link
Member

kizu commented Mar 1, 2016

See #2121:

.wrapper
  & > figure
    test: selectors()

results in

.wrapper > figure {
  test: '.wrapper', '& & > figure';
}

Which is incorrect, as the second item of the list the selectors() returns should be & > figure.

@Panya
Copy link
Member

Panya commented Mar 3, 2016

Fixed in rc-0.54.

@Panya Panya closed this as completed Mar 3, 2016
kizu added a commit that referenced this issue Mar 5, 2016
* dev: (21 commits)
  Fixed History for 0.54.0
  History up
  Evaluate variables in current-media function. Fixes #2128
  Undesired spaces with partial reference selector using ranges. Fixes #2133
  Slightly clarified an issue with combinators at ranges in partial references, re: #2134
  Validate regexp flags for match function
  Fix bug with evaluating default arguments
  Undesired spaces with partial reference selector using ranges. Fixes #2133
  Fixed bug with selectors() function. Closes #2130
  Don't parse empty imports
  Wrong errors with --include-css and --resolve-url used concurrently. Fixes #2125
  misc fixes
  Docs and History up
  SelectorParser: Added initial reference selector
  BIFs: expose "url" function by "embedurl"
  Updated history
  Bump version
  BIFs: Added "index" function
  Updated docs that where merged incorrectly
  added a slice function
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants