layout/reftests/text/wordbreak-9.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     5   <style type="text/css">
     6     @font-face {
     7       font-family: latin;
     8       src: url("../fonts/sil/GenR102.ttf");
     9     }
    10     @font-face {
    11       font-family: arabic;
    12       src: url("../fonts/sil/Scheherazade-R 2012-07-03c.ttf");
    13     }
    14     body {
    15       font-family: latin, arabic, sans-serif;
    16       font-size: 24px;
    17       line-height: 2em;
    18     }
    19     div {
    20       width: 0px;
    21       word-break: break-all;
    22     }
    23   </style>
    24   <title>Test - word-break:break-all across font fallback</title>
    25   </head>
    26   <body>
    27     <!-- the arabic diacritics here will fall back to font 'arabic', which
    28          is a graphite-enabled arabic font, and be shaped separately;
    29          nevertheless, they must remain clustered with the preceding letters,
    30          no additional line-breaks are allowed before them (bug 833297) -->
    31     <div>fo&#x064c;o&#x0650;ba&#x0654;r</div>
    32   </body>
    33 </html>

mercurial