Closed jogibear9988 closed 2 years ago
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:
#nav-header {
grid-area: navheader;
background-color: #21333D;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
after parsing and minimize:
#nav-header {
grid-area: navheader / navheader / auto / auto;
background-color: rgba(33, 51, 61, 1);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden
}
this has a different effect the
grid-area: navheader / navheader / auto / auto;
is rendered differently in chrome as
grid-area: navheader;
and another one....
* {
margin: 0;
padding: 0;
box-sizing: border-box;
word-wrap: normal;
flex-wrap: nowrap;
white-space: nowrap;
}
you completely remove the "box-sizing"
Feel free to contribute via a pull request. Much appreciated!
@FlorianRappl why did you close? is it intended from you to convert grid area syntax?
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