Bug 942736 - Account for hidden margins when validating viewport metrics. r=kats