5 This test passes if it doesn't crash.
7 <ul id=
"autosizeText"><li>
8 hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello
12 if (window
.internals
) {
13 window
.internals
.settings
.setTextAutosizingEnabled(true);
14 window
.internals
.settings
.setTextAutosizingWindowSizeOverride(320, 480);
17 if (window
.testRunner
)
18 testRunner
.waitUntilDone();
20 setTimeout(function() {
22 document
.body
.removeChild(document
.querySelector('#autosizeText'));
24 if (window
.testRunner
) {
25 testRunner
.dumpAsText();
26 testRunner
.notifyDone();