@@ -202,6 +202,52 @@ exports[`[html file]: invalid-tagname.html 1`] = `
202
202
</body ></html>"
203
203
` ;
204
204
205
+ exports [` [html file]: mutating.html 1` ] = `
206
+ "<!DOCTYPE html><html xmlns =\\"http://www.w3.org/1999/xhtml\\" lang =\\"en\\"><head>
207
+ <meta charset =\\"UTF-8\\" />
208
+ <meta name =\\"viewport\\" content =\\"width=device-width, initial-scale =1.0\\" />
209
+ <meta http-equiv =\\"X-UA-Compatible\\" content =\\"ie=edge\\" />
210
+ <title >Document</title > <noscript >SCRIPT_PLACEHOLDER</noscript ></head><body >
211
+ <div data-mutatefn =\\"swapChildren()\\">
212
+ <!-- does see in sequence; 1, then 2 -->
213
+ <b id =\\"a1\\"></b><b id =\\"a2\\"></b>
214
+
215
+ </div>
216
+ <div>
217
+ <!-- should see in sequence but doesn't -->
218
+ <b data-mutatefn =\\"swapForwardSiblings()\\"></b>
219
+ <b id =\\"b1\\"></b><b id =\\"b2\\"></b>
220
+
221
+ </div>
222
+ <div>
223
+ <b id =\\"d1\\"></b>
224
+ <b data-mutatefn =\\"moveForwardSiblingBehind()\\" id =\\"d2\\"></b>
225
+ <!-- d3 shouldn't be visible -->
226
+ </div>
227
+ <div data-mutatefn =\\"swapInLongDistance()\\">
228
+ <!-- a1 shouldn't be here as it's already in tree -->
229
+ <b id =\\"e2\\"></b>
230
+ </div></body></html>"
231
+ `;
232
+
233
+ exports[`[html file]: mutating.html~ 1`] = `
234
+ " <!DOCTYPE html><html xmlns=\\" http://www.w3.org/1999/xhtml\\" lang =\\"en\\"><head>
235
+ <meta charset =\\"UTF-8\\" />
236
+ <meta name =\\"viewport\\" content =\\"width=device-width, initial-scale =1.0\\" />
237
+ <meta http-equiv =\\"X-UA-Compatible\\" content =\\"ie=edge\\" />
238
+ <title >Document</title > <noscript >SCRIPT_PLACEHOLDER</noscript ></head ><body >
239
+ <div >
240
+ <b data-mutate =\\"swap1\\" id =\\"a1\\"></b>
241
+ <b id =\\"a2\\"></b>
242
+ <b id =\\"a3\\"></b>
243
+ </div>
244
+ <div>
245
+ <b id =\\"b1\\"></b>
246
+ <b data-mutate =\\"swap2\\" id =\\"b2\\"></b>
247
+ <b id =\\"b3\\"></b>
248
+ </div></body></html>"
249
+ `;
250
+
205
251
exports[`[html file]: picture.html 1`] = `
206
252
" <html xmlns=\\" http://www.w3.org/1999/xhtml\\"><head></head><body>
207
253
<picture>
0 commit comments