<!DOCTYPE HTML> <html> <head> <title>Test for bidi splitting and :first-letter</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"> p:first-letter { background: aqua; } body { font-size: 300%; } </style> </head> <body> <p><span><span>This has AB<span style="background:yellow">CDאב</span>שת</span></span></p> </body> </html>