Skip to content

Grid Area wrong parsed #85

@jogibear9988

Description

@jogibear9988

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.Css for 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions