finish shadow dom docs

This commit is contained in:
Evan Almloff committed 2023-04-17 12:41:54 -05:00
1 parent baeb4251ba
commit 9877b0f0b1
11 files changed
+123 -69

No files matched your search

+1 -1
View File
@@ -301,7 +301,7 @@ fn custom_elements_work() {
rdom.update_state(ctx);
// render...
rdom.traverse_depth_first(true, |node| {
rdom.traverse_depth_first_advanced(true, |node| {
let node_type = &*node.node_type();
let height = node.height() as usize;
let indent = " ".repeat(height);