<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html lang="en"> <head> <title>Testcase, bug 299065</title> <style type="text/css"> p { border: thin solid; background: aqua; color: blue; } span { background: yellow; color: olive; } </style> </head> <body> <p>AA<span>AAאא</span>אא</p> </body> </html>