dymokomi/luce-browser-engine
Source of release 0.6.1
0.6.1 / tests / libweb / Layout / input / table / table-caption-inline-width.html
<!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>