6 src: url(slow-ahem-loading.cgi?delay=
4000);
10 src: url(slow-ahem-loading.cgi?delay=
8000);
13 font-family:ahem-
5sec;
14 src: url(slow-ahem-loading.cgi?delay=
5000);
21 font-family: ahem-
4sec, Arial;
24 font-family: ahem-
8sec, Arial;
27 font-family: ahem-
5sec, Arial;
35 <span class=
"testspan" id=
"span1" style=
"display: none;">
40 Arial after
5 seconds:
42 <span class=
"testspan" id=
"span2" style=
"display: none;">
47 Blank after
5 seconds:
49 <span class=
"testspan" id=
"span3" style=
"display: none;">
56 if (window
.testRunner
)
57 testRunner
.waitUntilDone();
59 function displayElementAfter(id
, msec
) {
60 setTimeout(function() {
61 document
.getElementById(id
).style
.removeProperty("display");
65 window
.onload = function() {
66 displayElementAfter("span1", 0);
67 displayElementAfter("span2", 0);
68 displayElementAfter("span3", 3000);
69 setTimeout(function() { if (window
.testRunner
) testRunner
.notifyDone(); }, 5000);