var p = new HtmlParser(new HtmlParserOptions(), BrowsingContext.New(new Configuration().WithCss(new CssParserOptions())));
var dom = p.ParseDocument(@"<html><body><span style=""grid-template-areas: none; grid-template-columns: none; grid-template-rows: none""></body></html>");
var div = dom.QuerySelector("span");
var style = div.GetStyle();
var css = style.CssText;
Repro:
This throws here: https://github.com/AngleSharp/AngleSharp.Css/blob/5d034bfbbd5a8a6a851e135346fbcc5952173f2e/src/AngleSharp.Css/Values/Composites/CssGridTemplateValue.cs#L66
with the message