Conversation
| /// The align-content declaration. | ||
| /// </summary> | ||
| public static readonly String AlignContent = "align-content"; | ||
| public const String AlignContent = "align-content"; |
There was a problem hiding this comment.
These are public. Can you keep them static readonly?
|
I changed them to "const" so I could use them in a switch. But this could be reverted. Maybe it also works with new patern matching switch without that change. What do you think about the overall concept? Is this a way to do Simplification/Minification of CSS as part of AngleSharp.Css ? |
Yeah we can leave it like that - personally I think for consistency having a dedicated formatter would make sense, too, but this also works.
Understood - yes, I think it does work in the pattern matching style using references. |
|
Will be part of 1.0.0 |
Types of Changes
Prerequisites
Please make sure you can check the following two boxes:
Contribution Type
What types of changes does your code introduce? Put an
xin all the boxes that apply:Description
example for feature of minification of css #89