zwnj-02.xhtml (1256B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <svg xmlns="http://www.w3.org/2000/svg" 3 xmlns:xlink="http://www.w3.org/1999/xlink" 4 version="1.1"> 5 6 <!-- use an empty g to force filters.svg to load before onload --> 7 <use xlink:href="../filters.svg#empty" /> 8 9 <foreignObject filter="url(../filters.svg#NonWhiteToBlack)" 10 x="0" y="0" height="100%" width="100%"> 11 <html xmlns="http://www.w3.org/1999/xhtml"> 12 <!-- ZWNJ test #2. The words from zwnj-01.html with the ZWNJs replaced by 13 span boundaries. Correct behaviour is for the letters to connect across the 14 spans --> 15 <head> 16 <title>ZWNJ test</title> 17 <style type="text/css"> 18 html, body { margin: 0; background: white; color: black; height: 100%; width: 100%; } 19 body { 20 font-size: 36px; 21 } 22 </style> 23 </head> 24 <body lang="ar"> 25 <p><span>هفته</span><span>ها</span></p> 26 <p><span>موزه</span><span>ها</span></p> 27 <p><span>سه</span><span>شنبه</span></p> 28 <p><span>راه</span><span>آهن</span></p> 29 <p><span>نرم</span><span>افزار</span></p> 30 </body> 31 </html> 32 </foreignObject> 33 </svg>