update changelog

This commit is contained in:
Connor Skees 2021-07-19 19:52:09 -04:00
parent 839f101829
commit c2e84e3854
2 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,12 @@
# TBD
- feature complete `min`/`max` support -- special functions and `min`/`max` are now allowed as arguments
- removed dependency on `peekmore`, which sped up parsing and simplified lookahead
- emit comments inside the `@if` rule body
- fix bug in `hue(...)` function in which the value would be incorrect in when the `red` channel was the highest and the green channel was lower than the blue channel
- no longer round output from `saturation(...)` function
- improve handling of newlines inside and around `@media`
# 0.10.5 # 0.10.5
- support compressed output - support compressed output

View File

@ -198,3 +198,22 @@ test!(
"a {\n color /**/ : red;\n}\n", "a {\n color /**/ : red;\n}\n",
"a {\n color: red;\n}\n" "a {\n color: red;\n}\n"
); );
// todo: many other strange edge cases like `.style: val` (dealing with ambiguity is hard for very little gain)
test!(
#[ignore = "strange edge case"]
style_begins_with_asterisk_without_whitespace,
"a {\n *zoom: 1;\n}\n",
"a {\n *zoom: 1;\n}\n"
);
test!(
#[ignore = "strange edge case"]
style_begins_with_asterisk_with_whitespace,
"a {\n * zoom: 1;\n}\n",
"a {\n * zoom: 1;\n}\n"
);
test!(
#[ignore = "strange edge case"]
style_begins_with_asterisk_with_newline,
"a {\n * \n zoom: 1;\n}\n",
"a {\n * \n zoom: 1;\n}\n"
);