home
readme
diff
tree
note
docs
0commit fc0960964dc5762a237baf565bd7535ea4a83e78
1Author: lakefox <mason@lakefox.net>
2Date: Sun Feb 1 11:06:52 2026 -0700
3
4 Working to convert to c
5
6diff --git a/include/grim.h b/include/grim.h
7index 6fee15f..c27f237 100755
8--- a/include/grim.h
9+++ b/include/grim.h
10@@ -230,6 +230,20 @@ struct StyleList {
11 size_t length();
12 };
13
14+struct dom_list {
15+ std::vector<Node> elements;
16+}
17+
18+struct Node {
19+ std::vector<Pair> attributes;
20+ std::vector<Pair> computed_style;
21+}
22+
23+struct Pair {
24+ std::string key;
25+ std::string value;
26+}
27+
28 class Node {
29 private:
30 std::string TagName = "";