-
-
Notifications
You must be signed in to change notification settings - Fork 42
System.InvalidCastException when parsing a css #83
New issue
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
Comments
Can you trim the CSS to the relevant part? Thanks! |
Available in devel / preview version (upcoming 0.16.2). |
@FlorianRappl please wait with the final release. The error is gone, but something on my page is now messed up. I'll look for it... |
so I've found something. if I look at the original css:
after parsing and minimize:
this has a different effect
is rendered differently in chrome as
|
and another one....
you completely remove the "box-sizing" |
Feel free to contribute via a pull request. Much appreciated! |
@FlorianRappl |
Different issue (see title and description from you). You can open new issues, but then again - feel free to contribute via pull requests. |
Bug Report
When parsing CSS I get this exception:
System.InvalidCastException: 'Unable to cast object of type 'AngleSharp.Css.Values.CssReferenceValue' to type 'AngleSharp.Css.Values.CssTupleValue'.'
Prerequisites
AngleSharp.Css
for CSS support)For more information, see the
CONTRIBUTING
guide.Description
[Description of the bug]
Steps to Reproduce
Try to parse with this code:
this css:
Additional
The text was updated successfully, but these errors were encountered: