fast/forms/append-children-during-form-submission.html fails due to a text diff on iOS
[WebKit-https.git] / LayoutTests / fast / forms / append-children-during-form-submission.html
1 <!DOCTYPE html>
2 <html>
3 <script>
4 function loaded() {
5     if (window.testRunner)
6         testRunner.dumpAsText();
7
8     area1.setRangeText("foo");
9     area1.name = "foo";
10     area2.autofocus = true;
11     form.insertBefore(area2, form.firstChild);
12     form.submit();
13     document.write("<code>PASS</code>");
14 }
15
16 function changed() {
17     for (let i = 0; i < 100; i++)
18         form.appendChild(document.createElement("input"));
19 }
20 </script>
21
22 <body onload=loaded()>
23 <form id="form" onchange=changed()>
24     <textarea id="area1">a</textarea>
25     <object></object>
26     <textarea id="area2">b</textarea>
27 </form>
28 <p>To manually test, load this page. The document should show <code>PASS</code> after loading.</p>
29 </body>
30 </html>