We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AngleSharp.Css
For more information, see the CONTRIBUTING guide.
CONTRIBUTING
Parsing a style rule with a linear-gradient, and then writing the same rule back to css causes the angle to get removed.
class Program { static void Main(string[] args) { var parser = new CssParser(); var styleSheet = parser.ParseStyleSheet(".bg { background-image: linear-gradient(to right, #FF866E 0, #F15A24 0); }"); var css = styleSheet.ToCss(); Console.WriteLine(css); // Outputs // .bg { background-image: linear-gradient(rgba(255, 134, 110, 1) 0, rgba(241, 90, 36, 1) 0) } } }
The text was updated successfully, but these errors were encountered:
Awesome thanks for the report and ...
... 🎉 even more appreciate the PR ❤️!
🍻 🍻 Thanks!
Sorry, something went wrong.
Landed in the preview! Available in devel.
devel
@FlorianRappl is there a preview nuget?
No branches or pull requests
Bug Report
Prerequisites
AngleSharp.Css
for CSS support)For more information, see the
CONTRIBUTING
guide.Description
Parsing a style rule with a linear-gradient, and then writing the same rule back to css causes the angle to get removed.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: