Mayer's policy on remote work is discussed here: http://gigaom.com/2013/02/25/why-marissa-mayers-ban-on-remote-working-at-yahoo-could-backfire-badly/.
The thread comments on this article are worth reading to show how polarizing a no WFH mandate can be.