-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Released 2023-11-11. . * Filter out placeholder selectors when writing the resulting css (they are still parsed of the internal data representation, so they can be used when implementing `@extend`) (PR #180). * Filter out some other illegal / never-matching selectors (PR #181). * Some improvements in plain css value parsing: - trailing comma and space separated lists in function arguments. - unqoted urls (contining slash and dot) in function arguments. - Negative numbers and numbers starting with a decimal dot. - unicode-ranges. * Allow at-rules in at-rules when parsing plain css. * Refactored function name/plain string handling in scss values to not parse the same unquoted string twice. * Remove separate backref member from `css::Selectors` for cleanup before implementing more selector functions. Instead, add it to an internal struct `SelectorCtx` (PR #179). * Implemented a bunch of css math functions. They differ from the functions in the math module in that they fallback to themself if the answer cant be calculated but isn't obviously wrong (e.g. `min(var(--gap), 2em)` is preserved while `min(1em, 2em)` is evaluated to `1em` and `min(1s, 1em)` yields an error). This also includes some improvements in handling numeric zeroes and infinities. (PR #184). * Implemented css relative color functions (PR #185). * Simplify units early in numeric division and multiplication. I think this is a bit uglier, but it is more consistent with dart sass. * Refactored some parsers for less backtracking, making it easier to point parse errors at the right place in the code and maybe making parsing slightly more efficient. * Improve selector / name parsing by beeing more restrictive (PR #183). * Updated sass-spec test suite to 2023-10-31.
- Loading branch information
Showing
6 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rsass" | ||
version = "0.28.3-PRE" | ||
version = "0.28.4" | ||
authors = ["Rasmus Kaj <[email protected]>"] | ||
categories = ["web-programming"] | ||
keywords = ["scss", "sass", "css", "web"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters