wordbreak-9.html (966B)
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ٌoِbaٔr</div> 32 </body> 33 </html>