AngleSharp / AngleSharp.Css

:angel: Library to enable support for cascading stylesheets in AngleSharp.

Home Page:https://anglesharp.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support CSS Nesting

FlorianRappl opened this issue · comments

New Feature Proposal

Description

I think it should be pretty straight forward / easy to get this in. After all, we only need to see if one of the respective characters is hit and move into selector mode again. The most difficult part will be the adjustments to the data model and the algorithm for creating the render tree.

Background

See https://webkit.org/blog/13813/try-css-nesting-today-in-safari-technology-preview/ for more details.

Specification

The spec is available at https://drafts.csswg.org/css-nesting-1/.