<html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> div { color: green; } </style> </head> <body> <div> <!-- Need the non-breaking spaces to avoid some reftest badness due to the 't' extending outside its nominal metrics --> <span> test</span> </div> <div> <span> test</span> </div> </body> </html>