A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/AngleSharp/AngleSharp.Css/issues/102 below:

Support `@counter-style` and `@font-feature-values` · Issue #102 · AngleSharp/AngleSharp.Css · GitHub

The at-rules @counter-style and @font-feature-values are not currently supported by the parser.

var html = @"<style>
                @font-feature-values Font One {
                    @styleset {
                    nice-style: 12;
                    }
                }
                @counter-style thumbs {
                  system: cyclic;
                  symbols: ""\1F44D"";
                  suffix: "" "";
                }
            </style>";
var parser = new HtmlParser(new HtmlParserOptions(), BrowsingContext.New(Configuration.Default.WithCss(new CssParserOptions())));
var dom = parser.ParseDocument(html);
var styleSheet = dom.StyleSheets[0] as ICssStyleSheet;
var css = styleSheet.ToCss(); // -> ""
var rules = styleSheet.Rules.Length; // -> 0

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4