@@ -130,7 +130,7 @@ exports[`[html file]: form-fields.html 1`] = `
130130 <input name =\\"tagName\\" />
131131 </label>
132132 </form>
133-
133+
134134 <noscript >SCRIPT_PLACEHOLDER</noscript ></body></html>"
135135` ;
136136
@@ -217,6 +217,52 @@ exports[`[html file]: mask-text.html 1`] = `
217217 </body></html>"
218218`;
219219
220+ exports[`[html file]: mutating.html 1`] = `
221+ " <!DOCTYPE html><html xmlns=\\" http://www.w3.org/1999/xhtml\\" lang =\\"en\\"><head>
222+ <meta charset =\\"UTF-8\\" />
223+ <meta name =\\"viewport\\" content =\\"width=device-width, initial-scale =1.0\\" />
224+ <meta http-equiv =\\"X-UA-Compatible\\" content =\\"ie=edge\\" />
225+ <title >Document</title > <noscript >SCRIPT_PLACEHOLDER</noscript ></head ><body >
226+ <div data-mutatefn =\\"swapChildren()\\">
227+ <!-- does see in sequence; 1, then 2 -->
228+ <b id =\\"a1\\"></b><b id =\\"a2\\"></b>
229+
230+ </div>
231+ <div>
232+ <!-- should see in sequence but doesn't -->
233+ <b data-mutatefn =\\"swapForwardSiblings()\\"></b>
234+ <b id =\\"b1\\"></b><b id =\\"b2\\"></b>
235+
236+ </div>
237+ <div>
238+ <b id =\\"d1\\"></b>
239+ <b data-mutatefn =\\"moveForwardSiblingBehind()\\" id =\\"d2\\"></b>
240+ <!-- d3 shouldn't be visible -->
241+ </div>
242+ <div data-mutatefn =\\"swapInLongDistance()\\">
243+ <!-- a1 shouldn't be here as it's already in tree -->
244+ <b id =\\"e2\\"></b>
245+ </div></body></html>"
246+ `;
247+
248+ exports[`[html file]: mutating.html~ 1`] = `
249+ " <!DOCTYPE html><html xmlns=\\" http://www.w3.org/1999/xhtml\\" lang =\\"en\\"><head>
250+ <meta charset =\\"UTF-8\\" />
251+ <meta name =\\"viewport\\" content =\\"width=device-width, initial-scale =1.0\\" />
252+ <meta http-equiv =\\"X-UA-Compatible\\" content =\\"ie=edge\\" />
253+ <title >Document</title > <noscript >SCRIPT_PLACEHOLDER</noscript ></head ><body >
254+ <div >
255+ <b data-mutate =\\"swap1\\" id =\\"a1\\"></b>
256+ <b id =\\"a2\\"></b>
257+ <b id =\\"a3\\"></b>
258+ </div>
259+ <div>
260+ <b id =\\"b1\\"></b>
261+ <b data-mutate =\\"swap2\\" id =\\"b2\\"></b>
262+ <b id =\\"b3\\"></b>
263+ </div></body></html>"
264+ `;
265+
220266exports[`[html file]: picture.html 1`] = `
221267" <html xmlns=\\" http://www.w3.org/1999/xhtml\\"><head></head><body>
222268 <picture>
0 commit comments