Truly independent web browser
<!DOCTYPE html>
<style>
@font-face {
font-family: 'Ahem';
src: url('../../../Ref/data/fonts/Ahem.ttf');
}
table {
border: 1px solid black;
font: 10px/1 Ahem;
}
caption {
padding: 0 6px;
border: 1px solid gray;
}
</style>
<table>
<!-- The text should not overflow the table border -->
<caption>AAAAAAAAAA BBBBBBBBB CCCC</caption>
<tr><td style="width: 200px">x</td></tr>
</table>