mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 16:14:23 +00:00
LibHTML: Add an empty CSS parser.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user