1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:25:08 +00:00

LibHTML: Refactor the CSS parser into a class

Also added a parser function for standalone style declarations.
This commit is contained in:
Andreas Kling 2019-09-30 20:24:38 +02:00
parent 8d797fc62e
commit b2a0d20580
2 changed files with 96 additions and 48 deletions

View file

@ -4,4 +4,5 @@
#include <LibHTML/CSS/StyleSheet.h>
NonnullRefPtr<StyleSheet> parse_css(const String&);
NonnullRefPtr<StyleDeclaration> parse_css_declaration(const String&);