<!DOCTYPE html> <html> <head> <style> p { background-color: red; } .reftest-xdomain { background: lime; } </style> </head> <body> <p class="reftest-domain">@-moz-document rules should be applied.</p> <p class="reftest-xdomain">@-moz-document rules should not be applied.</p> </body> </html>