Truly independent web browser
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
@font-face {
font-family: Ahem;
src: url("../../../Ref/data/fonts/Ahem.ttf");
}
body {
margin: 0;
height: 2000px;
font: 20px/40px Ahem;
}
#fixed-header {
position: fixed;
left: 0;
top: 0;
width: 800px;
height: 40px;
background: navy;
}
</style>
<p>Text of the document</p>
<div id="fixed-header"></div>
<script>
promiseTest(async () => {
await document.fonts.ready;
println(internals.dumpDisplayList());
});
</script>