- From: Peter Moulder <peter.moulder@monash.edu>
- Date: Sun, 15 Jan 2012 17:05:52 +1100
- To: www-style@w3.org
Appended is a small test document demonstrating rendering of latin, devanagari and arabic-script strings where an element boundary or zwj occurs in the middle of (what would be) a grapheme cluster. Also available at http://bowman.infotech.monash.edu.au/~pmoulder/html-tests/split-grapheme.html pjrm. <!DOCTYPE html> <html> <head> <title>Test rendering of split grapheme clusters</title> <style type="text/css" media="all"> td, th { text-align: center; padding: 0 0.25em; } td { font-size: 5em; font-family: "Times New Roman"; } </style> </head> <body> <table> <tr><th>Normal<br />(no zwj or spans)</th><th>With zwj</th><th>Spanned<br />(no zwj)</th><th>Zwj after each<br />boundary</th></tr> <tr> <td>ü</td> <td>u‍̈</td> <td><span style="color:green">u</span><span style="color:red">̈</span></td> <td><span style="color:green">u</span><span style="color:red">‍̈</span></td> </tr> <tr> <td>पि</td> <td>प‍ि</td> <td><span style="color:green">प</span><span style="color:red">ि</span></td> <td><span style="color:green">प</span><span style="color:red">‍ि</span></td> </tr> <tr lang="ms" xml:lang="ms"> <td>تمن</td> <td>ت‍م‍ن</td> <td><span style="color:green">ت</span><span style="color:red">م</span>ن</td> <td><span style="color:green">ت</span><span style="color:red">‍م</span>‍ن</td> </tr> </table> </body> </html>
Received on Sunday, 15 January 2012 06:06:38 UTC