7 src: local(nonexistent), url(slow-ahem-loading.cgi);
10 <span id=
"testSpan">A
</span>
12 if (window
.testRunner
)
13 testRunner
.waitUntilDone();
15 // Set the span's style and register a font ready listener in the same microtask so that font can't
16 // load before we've had a chance to register the listener.
17 document
.getElementById('testSpan').style
.fontFamily
= "TestFont";
19 if (window
.testRunner
)
20 document
.fonts
.ready
.then(function() { testRunner
.notifyDone(); });
22 var style
= document
.getElementById('target');
23 style
.parentNode
.removeChild(style
);
24 document
.body
.offsetLeft
;
25 document
.body
.appendChild(style
);