Skip to content

@font-face font-weight set to a range becomes empty after parsing #187

@albi005

Description

@albi005

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version of AngleSharp.Css?
  • 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.Xml for Xml support)
  • Did you perform a search in the issues?

Steps to Reproduce

string css = """
    @font-face {
      font-weight: 100 700;
    }
""";
string output = new CssParser()
    .ParseStyleSheet(css)
    .ToCss();

Expected Behavior

output contains font-weight: 100 700;

Actual Behavior

output contains font-weight: ;

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