layout/reftests/text/kerning-01-notref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/kerning-01-notref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<style type="text/css">
     1.7 +@font-face {
     1.8 +  font-family: mplus;
     1.9 +  src: url(../fonts/mplus/mplus-1p-regular-no-OT.ttf);
    1.10 +  /* a copy of M+ with OpenType tables removed, so only legacy 'kern' is present */
    1.11 +}
    1.12 +
    1.13 +body {
    1.14 +  text-rendering: optimizeLegibility;
    1.15 +  font-size: 40px;
    1.16 +  font-family: mplus;
    1.17 +}
    1.18 +span {
    1.19 +  font-family: serif;
    1.20 +}
    1.21 +</style>
    1.22 +</head>
    1.23 +<body>
    1.24 +<!-- the ZWNJ characters with font change should prevent kerning at those positions;
    1.25 +     if the testcase looks the same, then kerning failed altogether -->
    1.26 +AVA<span>&zwnj;</span>V<span>&zwnj;</span>A
    1.27 +</body>
    1.28 +</html>

mercurial