AngleSharp / AngleSharp.Css

:angel: Library to enable support for cascading stylesheets in AngleSharp.
https://anglesharp.github.io
MIT License
72 stars 34 forks source link

box-sizeing is lost when css is parsed #86

Closed jogibear9988 closed 2 years ago

jogibear9988 commented 2 years ago

Bug Report

Prerequisites

For more information, see the CONTRIBUTING guide.

Descriptionif you parse box-sizing it is completely removed from the css:

Steps to Reproduce

Try this snippet:

        var source = "* { box-sizing: border-box; }";
        var css = ParseStyleSheet(source);
        var text = css.Rules[0].CssText;

Expected behavior:

the text to be as nearly the same as the input one

Actual behavior:

i got:

   * { }