diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-28 21:17:34 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-28 21:25:44 +0200 |
commit | ffcbe8f0de0300c94fa940024edeea66b2eeced3 (patch) | |
tree | afeaa67165f345100a06bb7866e71e12a63a18ab /LibHTML/Dump.h | |
parent | 3af59dfed1f0e6203cea3a6e5cdaa3bac7d72d31 (diff) | |
download | serenity-ffcbe8f0de0300c94fa940024edeea66b2eeced3.zip |
LibHTML: Start building the style tree.
Walk the DOM and construct a parallel style tree that points back to the DOM
and has the relevant CSS property values hanging off of them.
The values are picked based on naive selector matching. There's no cascade
or specificity taken into account yet.
Diffstat (limited to 'LibHTML/Dump.h')
-rw-r--r-- | LibHTML/Dump.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibHTML/Dump.h b/LibHTML/Dump.h index 546e556ba7..c7c0953e6d 100644 --- a/LibHTML/Dump.h +++ b/LibHTML/Dump.h @@ -4,8 +4,10 @@ class Node; class LayoutNode; class StyleRule; class StyleSheet; +class StyledNode; void dump_tree(const Node&); +void dump_tree(const StyledNode&); void dump_tree(const LayoutNode&); void dump_sheet(const StyleSheet&); void dump_rule(const StyleRule&); |