LibHTML: Add an empty CSS parser.

This commit is contained in:
Andreas Kling
2019-06-21 20:54:13 +02:00
parent 85d71024f7
commit 891e668e35
14 changed files with 67 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
#include <LibHTML/CSS/StyleSheet.h>
#include <LibHTML/DOM/Document.h>
#include <LibHTML/DOM/Element.h>
#include <LibHTML/DOM/Text.h>
@@ -65,3 +66,8 @@ void dump_tree(const LayoutNode& layout_node)
});
--indent;
}
void dump_sheet(const StyleSheet& sheet)
{
printf("StyleSheet{%p}: %d rule(s)\n", &sheet, sheet.rules().size());
}