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

Allow css to be used to style xml #73

Closed drowbury closed 9 months ago

drowbury commented 3 years ago

New Feature Proposal

Css can be used to style xml per w3

Description

From running the code with my own project just by treating the IXmlElements the same as IHtmlElements and ISvgElements the style is applied.

Background

Allowing xml to be styled by css provides more flexibility.

Specification

Css should be able to be applied to xml

FlorianRappl commented 9 months ago

Sorry for me this one is quite unclear; shouldn't this issue be rather a story for AngleSharp.Xml? How should this look like?

By spec, XML remains unstyled.