WKWebView loses minimum layout size overrides that happen while the process is terminated
[WebKit-https.git] / LayoutTests / editing / apply-style-iframe-crash.html
1 <!DOCTYPE html>
2 <script>
3     function frameLoaded() {
4         if (document.counter)
5             document.counter++;
6         else
7             document.counter = 1;
8
9         if (document.counter <= 16) {
10             document.designMode='on';
11             document.execCommand('selectall');
12             document.execCommand('italic');
13         }
14     }
15
16     if (window.testRunner) {
17         testRunner.dumpAsText();
18         testRunner.waitUntilDone();
19     }
20
21     window.addEventListener("load", function() {
22         document.getElementById("console").innerText = 'PASS';
23         if (window.testRunner)
24             testRunner.notifyDone();
25     });
26 </script>
27
28
29 <h1><button><iframe></iframe></button>
30 </h1><input><iframe onload="frameLoaded()"></iframe>
31
32 <div id="console">FAIL</div>
33
34 <div>
35     WebKit bug #<a href="https://bugs.webkit.org/show_bug.cgi?id=132103">132103</a>: Crash applying editing commands from iframe onload event.
36 </div>