Closed The-Nutty closed 5 years ago
Have you tried with the 0.13 beta? Or are you using AngleSharp.Css 0.12?
See https://github.com/AngleSharp/AngleSharp.Css/issues/33 (potential dup, already solved in 0.13 (beta)).
Thanks for the report!
@FlorianRappl Ah thanks, yes works without issue on the 0.13 beta.
What is the expected timeline for 0.13's release?
Thanks
Should come quite soon. Not sure if its still in July, but then beginning of August.
I'll try to make room for it soon. From the remaining 2 items in AngleSharp.Css at least 1 should be covered in 0.13. Let's see.
Thanks for confirming the dup :beers:!
Bug Report
Prerequisites
AngleSharp
directly)For more information, see the
CONTRIBUTING
guide.Description
[Description of the bug] When parsing CSS with some very odd table styles a System.FormatException is thrown. I think this is caused by the
letter-spacing:-.px
in the following CSS block (see steps to reproduce) Note this is from an email hence the unusual styles and seemingly useless table.Steps to Reproduce
Create a C# project with AngleShart and AngleSharp.Css installed and run the following code
Expected behavior: [What you expected to happen] Should parse the HTML without throwing. Actual behavior: [What actually happened] Throws with the following stack trace.
Environment details: [OS, .NET Runtime, ...] .NET core 2