decl. node important boundaries
See original GitHub issueSimilar to (#598), If a declaration value ends with a comment along with !important
, that comment will be considered as part of node.important
rather than being part of node.raws.value
.
For example:
body {
font-family:Tahoma/*comment*/!important;
}
Produces:
{ raws:
{
before: '\n',
between: ': ',
important: '/*comment*/!important'
}
}
While it is expected to be:
{ raws:
{
before: '\n',
between: ': ',
important: '!important',
value:{
raw: 'Tahoma /*comment*/',
value: 'Tahoma',
}
}
}
Shouldn’t the comment be part of the value ?
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
TSConfig Reference - Docs on every TSConfig option
From allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.
Read more >How To Use Every Node in Unity Shader Graph - Daniel Ilett
This tutorial shows you every single node in action, ... Occlusion can be used to add slight shadows around object boundaries (see left)....
Read more >node-red-contrib-web-worldmap 2.32.0
A Node-RED node to provide a world map web page for plotting "things" on. Map Image. Updates. v2.32.0 - Change || to nullish...
Read more >Launch template support - Amazon EKS - AWS Documentation
The opening boundary, which signals the beginning of a user data block – --==MYBOUNDARY== The content type declaration for the block: Content-Type: text/cloud- ......
Read more >Chapter-15-Network-Linear-Programs ... - AMPL
two kinds: simple bounds on the flows, and conservation of flow at the nodes. Models restricted in this way give rise to the...
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
Sure. It is issue. I will fix it in next few weeks. Feel free to ping me on Sunday.
@ai in case the comment was placed after
!important
it will produce:https://runkit.com/5834c46bd8fb6400141ac375/58c84fe87474fc0014f16da2