Confusing `raws` behaviour
See original GitHub issueRef: December 23, 2016 10:11 AM
--layout-around-aligned: {
-ms-flex-line-pack: distribute; /* IE10 */
-ms-align-content: space-around;
-webkit-align-content: space-around;
align-content: space-around;
};
/*******************************
Other Layout
*******************************/
--layout-block: {
display: block;
};
I looked into the AST produced by PostCSS and what ends up happening is that the semicolon from (logically) the first rule is in fact tacked on to the before
raw value of the comment node. Because cssnano removes the comment nodes then the semicolon is lost, but I don’t think that the semicolon being part of the comment node is correct.
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Behavior Chains – Untangling the Confusion
These are four separate behaviors, linked together, giving the appearance of a single behavior. Why is there confusion? The source of confusion ...
Read more >Evidence for Robust Effects of Epistemic Emotions - Frontiers
The effect of surprise on exploratory behavior was significantly mediated by curiosity but not by confusion, after correct and incorrect answers ...
Read more >(Visually) Interpreting the confusion-matrix: | Analytics Vidhya
In machine learning, a confusion matrix is a kind-of confusing table used to understand how well our model predictions perform(especially ...
Read more >Chapter 2 Predicting Behavior with Classification Models
Usually, it is a good idea to visualize the predictions to have a better understanding of the classifier's behavior. Confusion matrices allow us...
Read more >Cache::Entry encoding changes in Rails 7 are leading to ...
In Rails 7 the Rails.cache.read("counter") will silently fail and return nil unless raw: true option is set making the behaviour ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Done a1cf3e7
I added
rule.raws.ownSemicolon
with";"
or"[any spaces];"
content.There is only one problem with current implementation. If we will have comments between
}
and;
, parser will not consider, that semicolon is part of rule.But this limit is very rare and I will fix it if
@apply
because a really standard.Thanks, looking forward to it. If you need some testing done, just let me know. 😉