blob: daa5a8f7ae42a19602ad4c45cbae96ed2aa8d2c6 [file] [log] [blame]
<html>
<head>
<style>
div {
font-family: "times new roman"; /* non AAT font on mac */
}
span {
direction: rtl;
unicode-bidi: bidi-override;
}
#kerning {
font-feature-settings: 'kern';
}
#smallcaps {
font-feature-settings: 'smcp';
}
</style>
<script>
function test()
{
var start = document.getElementById("kerning").firstChild;
var end = document.getElementById("smallcaps").lastChild;
window.getSelection().setBaseAndExtent(start, 0, end, 3);
}
</script>
</head>
<body onload="test()">
<p>The selection should cover the all of the below text. There should be no blank between either C and F.
<div id="kerning">
ABC<span>DEF</span>GHI
</div>
<div id="smallcaps">
ABC<span>DEF</span>GHI
</div>
</body>
</html>