-
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Labels
Description
Bug Report
Prerequisites
- Can you reproduce the problem in a MWE?
- Are you running the latest version of AngleSharp?
- Did you check the FAQs to see if that helps you?
- Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g.,
AngleSharp.Cssfor CSS support) - Did you perform a search in the issues?
For more information, see the CONTRIBUTING guide.
Description
Grid area is converted to wrong css
Steps to Reproduce
Try this snippet:
var source = "#nav-header {grid-area: navheader; }";
var css = ParseStyleSheet(source);
var text = css.Rules[0].CssText;
Expected behavior: [What you expected to happen]
I expect the text to be the same as in source (or nearly)
Actual behavior: [What actually happened]
the text look like this:
#nav-header { grid-area: navheader / navheader / auto / auto }
problem is, this text renders the html differently then the original one (at least in chrome)