You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should come out as a func node followed by a punctuation node (the comma) and another func node.
Actual Behavior
Root{raws: {semicolon: false,after: ''},type: 'root',nodes:
[Func{raws: [Object],name: 'local',type: 'func',isColor: false,nodes: [Array],parent: [Circular],source: [Object],params: '(foo)'},Func{raws: [Object],name: ',local',// <-- that comma should have been its own tokentype: 'func',isColor: false,nodes: [Array],parent: [Circular],source: [Object],params: '(bar)'}],source: [...]}
I haven't done a thorough reading of the CSS syntax module spec, but I'm fairly sure that the spacing around the comma is optional. I've also seen cssnano compress font-family values to omit it between local(...) tokens like these.
The text was updated successfully, but these errors were encountered:
* master:
Switch to postcss-value-parser instead
Make a little progress with stripLocalTokens
Convert extractReferencedCustomPropertyNames
Add a test for extractReferencedCustomPropertyNames
Start converting lib/stripLocalTokens.js, blocked on shellscape/postcss-values-parser#91
WIP, carried over from assetgraph/assetgraph#989
Update unexpected-set to ^2.0.1
3.7.0
* master: (35 commits)
Fix path to the new main file
Tidy up some tests a bit
Also accept --canonical-root (not only --canonicalroot) and --dry-run (not only (--dryrun)
inlineSubsets => inlineFonts to match the cli
Exploit that yargs provides camelCased versions of --kebab-cased switches
Test parseCommandLineOptions a bit more exhaustively
Rearrange so the main export works as a programmatic api (instead of accepting an argv array)
docs(readme): add Greenkeeper badge
chore(package): update dependencies
Update yargs and async-main-wrap
Update assetgaph, httpception, mocha, nyc, sinon and unexpected
Align linting config with Assetgraph
3.7.1
Fix broken main reference in package.json
Switch to postcss-value-parser instead
Make a little progress with stripLocalTokens
Convert extractReferencedCustomPropertyNames
Add a test for extractReferencedCustomPropertyNames
Start converting lib/stripLocalTokens.js, blocked on shellscape/postcss-values-parser#91
WIP, carried over from assetgraph/assetgraph#989
...
How Do We Reproduce?
Expected Behavior
Should come out as a
func
node followed by apunctuation
node (the comma) and anotherfunc
node.Actual Behavior
I haven't done a thorough reading of the CSS syntax module spec, but I'm fairly sure that the spacing around the comma is optional. I've also seen
cssnano
compressfont-family
values to omit it betweenlocal(...)
tokens like these.The text was updated successfully, but these errors were encountered: