<!DOCTYPE html>
<style>
@font-face {
font-family:T;
src:local('Times New Roman'), local(Tinos Regular);
unicode-range:U+41;
}
div {
font:50px/1 T, sans-serif;
}
.top {
font-size:50%;
vertical-align:top;
border:solid 1px black;
}
</style>
<p>Test pass if all lines have superscripts enclosed in a box.
<div>A<span class="top">A</span></div>
<div>A<span class="top">B</span></div>
<div>A<span class="top">あ</span></div>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
}
document.fonts.ready.then(() => { testRunner.notifyDone(); });
</script>