Fix for issue #1221

I added the placeholder pseudo class to support newer versions of firefox and modified the related test fixture.