blob: 89ada38acb9812d083a8ef8ba06daafa8084437f [file] [log] [blame]
<!DOCTYPE html>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="100">
<desc>Test if auto glyph orientation in vertical flow works for surrogate pairs.</desc>
<style>
@font-face {
font-family:cssot;
src:url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf);
}
text.test {
font-family:cssot;
font-size:50px;
}
</style>
<text y="20">Test pass if the triangle points to the right.</text>
<text class="test" writing-mode="tb" x="90" y="30">&#x1100F;</text>
<script>
document.body.offsetLeft; // Kick off loading @font-face
if (window.testRunner) {
testRunner.waitUntilDone();
document.body.onload = function () { testRunner.notifyDone(); };
}
</script>
</svg>