<!DOCTYPE html>
<html>
<head>
<title>Test for text-overflow: ellipsis using SVG font with kerning and ligatures on</title>
<style>

@font-face {
    font-family: 'ABCFont';
    src: local('☺'), url('../../svg/custom/resources/ABCFont.svg#ABCFont') format('svg');
    font-weight: normal;
    font-style: normal;
}

.ellipsis {
    width: 180px;
    margin: 0 0 20px 0;
    border: 1px solid black;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.svgfont {
	font-family: 'ABCFont';
    -webkit-font-kerning: normal;
}
</style>
</head>
<body>

This test checks that the text-overflow: ellipsis property is handled correctly when using an SVG font and having kerning and ligatures on.<br><br>

Pass if some text is shown followed by an ellipsis (NOT just the ellipsis by itself).<br><br>

<div class="ellipsis svgfont">
	abc abc abc abc abc abc abc abc abc abc
</div>

</body>
</html>
