mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00

We walk the entire DOM and check all selectors against all elements. Only id, class and tag name are checked right now. There's no ancestor stack or compound selectors. All in good time :^)
11 lines
214 B
C++
11 lines
214 B
C++
#pragma once
|
|
|
|
class Node;
|
|
class LayoutNode;
|
|
class StyleRule;
|
|
class StyleSheet;
|
|
|
|
void dump_tree(const Node&);
|
|
void dump_tree(const LayoutNode&);
|
|
void dump_sheet(const StyleSheet&);
|
|
void dump_rule(const StyleRule&);
|