layout/reftests/text/wordbreak-9.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/wordbreak-9.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     1.8 +  <style type="text/css">
     1.9 +    @font-face {
    1.10 +      font-family: latin;
    1.11 +      src: url("../fonts/sil/GenR102.ttf");
    1.12 +    }
    1.13 +    @font-face {
    1.14 +      font-family: arabic;
    1.15 +      src: url("../fonts/sil/Scheherazade-R 2012-07-03c.ttf");
    1.16 +    }
    1.17 +    body {
    1.18 +      font-family: latin, arabic, sans-serif;
    1.19 +      font-size: 24px;
    1.20 +      line-height: 2em;
    1.21 +    }
    1.22 +    div {
    1.23 +      width: 0px;
    1.24 +      word-break: break-all;
    1.25 +    }
    1.26 +  </style>
    1.27 +  <title>Test - word-break:break-all across font fallback</title>
    1.28 +  </head>
    1.29 +  <body>
    1.30 +    <!-- the arabic diacritics here will fall back to font 'arabic', which
    1.31 +         is a graphite-enabled arabic font, and be shaped separately;
    1.32 +         nevertheless, they must remain clustered with the preceding letters,
    1.33 +         no additional line-breaks are allowed before them (bug 833297) -->
    1.34 +    <div>fo&#x064c;o&#x0650;ba&#x0654;r</div>
    1.35 +  </body>
    1.36 +</html>

mercurial