mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
ffcbe8f0de
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.
13 lines
267 B
C++
13 lines
267 B
C++
#pragma once
|
|
|
|
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&);
|