summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/style/iframe-onload-crash-unix.html
blob: d0b5c9b57a80655047d150e1c2ae3ae45f5fc94d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<meta><input><h6><nobr></nobr><datagrid><ins><button><em><iframe onload="
if (window.testRunner && window.internals) {
    testRunner.dumpAsText();
    internals.settings.setEditingBehavior('unix');
}

if (document.counter)
    document.counter++;
else
    document.counter = 1;

if (document.counter <= 16) {
    document.designMode='on';
    document.execCommand('selectall');
    document.execCommand('italic');
    document.execCommand('RemoveFormat');
    document.execCommand('inserthtml', false);
    document.body.innerHTML='PASS';
} ">x