14
14
15
15
</script >
16
16
<!-- M_*1 #script/0-->
17
+ </head >
18
+ <body >
19
+ <div >
20
+ 0
21
+ <!-- M_*1 #text/1-->
22
+ </div >
17
23
<script >
18
24
WALKER_RUNTIME (" M" )(" _" );M ._ .r = [_= & gt;(_ .a = {1 : {count: 0 }}),1 ," __tests__/template.marko_0_count" ,0 ];M ._ .w ()
19
25
</script >
20
- </head >
21
- <body />
26
+ </body >
22
27
</html >
23
28
```
24
29
@@ -42,18 +47,24 @@ container.querySelector("script").click();
42
47
43
48
</script >
44
49
<!-- M_*1 #script/0-->
50
+ </head >
51
+ <body >
52
+ <div >
53
+ 1
54
+ <!-- M_*1 #text/1-->
55
+ </div >
45
56
<script >
46
57
WALKER_RUNTIME (" M" )(" _" );M ._ .r = [_= & gt;(_ .a = {1 : {count: 0 }}),1 ," __tests__/template.marko_0_count" ,0 ];M ._ .w ()
47
58
</script >
48
- </head >
49
- <body />
59
+ </body >
50
60
</html >
51
61
```
52
62
53
63
# Mutations
54
64
```
55
- REMOVE #text in html/head/script0
56
- INSERT html/head/script0/#text
65
+ REMOVE #text in html/head/script
66
+ INSERT html/head/script/#text
67
+ UPDATE html/body/div/#text "0" => "1"
57
68
```
58
69
59
70
# Render
@@ -75,18 +86,24 @@ container.querySelector("script").click();
75
86
76
87
</script >
77
88
<!-- M_*1 #script/0-->
89
+ </head >
90
+ <body >
91
+ <div >
92
+ 2
93
+ <!-- M_*1 #text/1-->
94
+ </div >
78
95
<script >
79
96
WALKER_RUNTIME (" M" )(" _" );M ._ .r = [_= & gt;(_ .a = {1 : {count: 0 }}),1 ," __tests__/template.marko_0_count" ,0 ];M ._ .w ()
80
97
</script >
81
- </head >
82
- <body />
98
+ </body >
83
99
</html >
84
100
```
85
101
86
102
# Mutations
87
103
```
88
- REMOVE #text in html/head/script0
89
- INSERT html/head/script0/#text
104
+ REMOVE #text in html/head/script
105
+ INSERT html/head/script/#text
106
+ UPDATE html/body/div/#text "1" => "2"
90
107
```
91
108
92
109
# Render
@@ -108,16 +125,22 @@ container.querySelector("script").click();
108
125
109
126
</script >
110
127
<!-- M_*1 #script/0-->
128
+ </head >
129
+ <body >
130
+ <div >
131
+ 3
132
+ <!-- M_*1 #text/1-->
133
+ </div >
111
134
<script >
112
135
WALKER_RUNTIME (" M" )(" _" );M ._ .r = [_= & gt;(_ .a = {1 : {count: 0 }}),1 ," __tests__/template.marko_0_count" ,0 ];M ._ .w ()
113
136
</script >
114
- </head >
115
- <body />
137
+ </body >
116
138
</html >
117
139
```
118
140
119
141
# Mutations
120
142
```
121
- REMOVE #text in html/head/script0
122
- INSERT html/head/script0/#text
143
+ REMOVE #text in html/head/script
144
+ INSERT html/head/script/#text
145
+ UPDATE html/body/div/#text "2" => "3"
123
146
```
0 commit comments