<html> <head> <style type="text/css"> .R { color: #FF0000; } .G { color: #00FF00; } .B { color: #0000FF; } .K { color: #000000; } </style> </head> <body> <p>There should be only red and black text here</p> <p style="font-size: 24pt;"> <!-- The first three spans here become a single Devanagari cluster, so the entire cluster is painted with the color of the first character. Currently NOT true on Linux, see bug 488364. --> <span class="R">र्</span><span class="G">क्</span><span class="B">क</span><span class="K">क</span> </p> </body> </html>