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

Improve selector functions #103

Merged
merged 3 commits into from
Apr 18, 2021
Merged

Improve selector functions #103

merged 3 commits into from
Apr 18, 2021

Conversation

kaj
Copy link
Owner

@kaj kaj commented Apr 18, 2021

Improve how arguments are recieved and resulting selectors are converted to values.

Also improve how backrefs are handled in PseudoElement and Pseudo selectors.

kaj added 3 commits April 11, 2021 22:26
Improve how arguments are recieved and resulting selectors are
converted to values.
@kaj kaj merged commit 9c835de into master Apr 18, 2021
@kaj kaj deleted the improve-selector-fns branch April 18, 2021 18:06
kaj added a commit that referenced this pull request Jun 1, 2021
Progress: 3727 of 6171 tests passed in dart-sass compatibility mode.

* `value::Unit` and `value::ListSeparator` has new alternatives.
* The `List` alternative in `sass::Value` and `css::Value` is modified.
* The `Use` alternative in `sass::Item` is modified, and `Forward` added.

* Most of `@forward` and some more of `@use` is now supported.
  PR #109 and #110.
* Handle unknown units.  PR #101.
* List can be undecided between beeing comma-separated and beeing
  space-separated.  PR #102.
* Improved parameter handling and returned values of the supported
  selector functions.  PR #103.
* Implement `meta.module_variables` and `meta.module_functions`.
* Implement `math.div` function.
* Improved parameter checking for `hwb`, `alpha`, and `invert`
  functions in `sass:color` module.
* Support slash-separated lists. PR #111.
* The `if` function evaluates its arguments lazily.  Issue #107.
* The `--include-path` cli argument is now named `--load-path`.
* At least some documentation on all public items.
* Update sass-spec test suite to 2021-05-24.  Also include "other"
  files (for `@use` and `@import`) in rust code for the suite.

Tested with rustc 1.52.1, 1.50.0, 1.48.0, 1.45.2,
1.53.0-beta.3 (82b862164 2021-05-22), and
1.54.0-nightly (657bc0188 2021-05-31).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant